Morphos

@morphos/inputs

Changelog for @morphos/inputs.

0.1.0

Initial release.

  • Button — polymorphic button with as prop, data-disabled.
  • Input — controlled/uncontrolled text input, data-invalid, data-focused.
  • Checkbox — controlled/uncontrolled checkbox, data-checked, data-indeterminate.
  • CheckboxGroup + CheckboxGroupItem — grouped checkboxes, data-orientation, data-disabled.
  • Select — custom listbox with keyboard navigation, data-open, data-active, data-selected.
  • RadioGroup + Radio — grouped radio inputs, data-checked, data-disabled.
  • Switch — on/off toggle, data-checked.
  • Toggle — two-state pressable button, data-pressed.
  • ToggleGroup + ToggleGroupItem — single/multiple pressed toggles, data-type, data-orientation.
  • Slider — draggable, keyboard-operable range input, data-orientation, data-value.
  • NumberField — increment/decrement stepper with decimal-precision-safe rounding.
  • OtpField — one-time-passcode input split across per-digit cells, data-index.
  • Combobox — filterable listbox bound to a text input, data-open, data-active, data-selected, data-index.
  • Autocomplete — free-text input paired with a suggestion list, data-open, data-active.
  • Field + FieldLabel + FieldDescription + FieldError + FieldControl — labeled field wrapper, data-invalid, data-required, data-disabled.
  • Fieldset — grouped fields under a shared legend, data-disabled.
  • Form — submit handling wrapper for the rest of @morphos/inputs.

On this page