Skip to main content

Widgets

Fifteen widget types cover text entry, choices, filesystem browsing and gates. Every field of the form opens its widget in an editor; the same widgets also run standalone (see playground/3-widgets/). Widgets pull their glyphs and colours from the theme, so each one is shown in all four display modes.

All widgets, one after another

Text entry

  • Text - single-line input, with optional ghost-text autocomplete.
  • Number - integer input with optional bounds and step keys.
  • Date - a month calendar returning an ISO date.
  • Textarea - multi-line input with optional external-editor handoff.
  • Password - masked input with optional reveal and confirm.

Choices

  • Select - single choice from a list.
  • MultiSelect - multiple choice from a checkbox list.
  • Suggest - free text with autocomplete over a fixed set.
  • Search - single choice with a filter line.
  • MultiSearch - multi-select with a filter line.
  • Option groups - headings, separators and disabled options.

Filesystem

Toggles and gates

  • Confirm - a Yes/No toggle.
  • Toggle - an inline switch between two labelled values.
  • Pause - an acknowledgement gate.