Forms & inputs

Components

Component

An accessible on/off switch (role="switch" with aria-checked) and a SwitchField that pairs it with a clickable label and a description through aria-labelledby and aria-describedby. Controlled or uncontrolled, two sizes, disabled state, a reduced-motion-aware thumb, and a hidden input so it submits with forms like a checkbox.

Forms & inputs · Chomodo Studio 0 likes 0 installs
Component

A labelled text input with hint text, an error message wired through aria-describedby and aria-invalid, an optional leading icon or prefix, and a trailing slot for units, keyboard hints or a small TextFieldButton (for example show password). Three sizes, a disabled state, forwarded ref, and clicks on the padding focus the input.

Forms & inputs · Chomodo Studio 0 likes 0 installs
Hook

Two React hooks for debouncing. useDebouncedValue returns a value once it has stopped changing for a delay, so you can compare it with the live value to show a pending state. useDebouncedCallback returns a stable function with cancel, flush and isPending; it always calls your latest callback, supports leading calls and a maxWait cap, and cancels on unmount. The preview filters a list while showing the debouncing state and autosaves a note.

Forms & inputs · Chomodo Studio 0 likes 0 installs
Component

A searchable single select built on the ARIA 1.2 combobox and listbox pattern. Type to filter (accent-insensitive, matching labels, descriptions and keywords, with the match highlighted), use the arrow keys, Enter to choose and Escape to close; clicking outside also closes it. Supports icons, descriptions and disabled options, an empty state, an optional clear button, a result count for screen readers and a hidden input for forms.

Forms & inputs · Chomodo Studio 0 likes 1 installs