Forms & inputs

Components

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
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