Skip to content

PackAny framework8 componentsMIT

Forms

Accessible form controls: TextField, TextArea, Select, Checkbox, RadioGroup, Switch, FileDrop and FormSection. All native elements, azure focus, light and dark.

FormRiff@formriff

formsinputssettingsaccessibilitysaasdark-mode

Forms, the pack's cover

Components

8 components

Live preview

Each part runs in a sealed frame. It cannot reach this page or your data.

01

TextField

A labelled text input with an optional hint, leading icon and error. The error is announced and linked with aria-describedby.

02

TextArea

A labelled multi-line input that grows with its content where supported, with an optional live character count.

03

Select

A native select with a label and a quiet chevron. Keyboard, screen reader and mobile pickers work as the platform intends.

04

Checkbox

A native checkbox with a drawn tick and an optional description line. The whole row is the click target.

05

RadioGroup

A fieldset of native radios with a legend. Stack for short answers, cards when each option needs a sentence.

06

Switch

An on or off setting that applies at once. A native checkbox with role switch, so it is announced as a switch.

07

FileDrop

A drop zone around a native file input. Click, keyboard and drag all work; the limits are written out before anyone tries.

08

FormSection

A settings block: title and a sentence on the left or on top, fields on the right, and a footer with the save action.