Skip to content

Forms

Fields with one look and one message system: a label with a required or optional mark, help text, a status in the ok, info or warn tone, and an error with an icon. Every message is linked to its control, errors set aria-invalid, and a summary links to the fields after a failed submit. Built to WCAG 2.2 AA, from 320px up.

21 pages, 23 exports

  • Field
  • FormErrorSummary
  • Input
  • TextField
  • Textarea
  • Select
  • MultiSelect
  • Checkbox
  • CheckboxGroup
  • Radio
  • RadioGroup
  • Switch
  • Range
  • FileInput
  • ColorInput
  • DateInput
  • DateTimeInput
  • SearchField
  • InputWithIcon
  • ChipInput
  • SettingRow
  • ToggleRow
  • FormActions

ImportLink to the section Import

Each group has its own entry, so an app that needs only this group loads only this group. Everything is also exported from @skribly/ui.

tsx
import { Field, FormErrorSummary, Input, TextField, … } from '@skribly/ui/forms'

Pages in this groupLink to the section Pages in this group

Search this site

Arrows move through the results, Enter opens one, Esc closes. Ctrl K /