---
title: widget
framework: pdfkit
role: symbol
role_heading: Type Property
path: pdfkit/pdfannotationsubtype/widget
---

# widget

An annotation that displays interactive form elements, including text or signature fields, radio buttons, checkboxes, push buttons, pop-ups, and tables.

## Declaration

```swift
static let widget: PDFAnnotationSubtype
```

## Mentioned in

Adding Widgets to a PDF Document

## See Also

### Choosing an Annotation Subtype

- [circle](pdfkit/pdfannotationsubtype/circle.md)
- [freeText](pdfkit/pdfannotationsubtype/freetext.md)
- [highlight](pdfkit/pdfannotationsubtype/highlight.md)
- [ink](pdfkit/pdfannotationsubtype/ink.md)
- [line](pdfkit/pdfannotationsubtype/line.md)
- [link](pdfkit/pdfannotationsubtype/link.md)
- [popup](pdfkit/pdfannotationsubtype/popup.md)
- [square](pdfkit/pdfannotationsubtype/square.md)
- [stamp](pdfkit/pdfannotationsubtype/stamp.md)
- [strikeOut](pdfkit/pdfannotationsubtype/strikeout.md)
- [text](pdfkit/pdfannotationsubtype/text.md)
- [underline](pdfkit/pdfannotationsubtype/underline.md)
