Skip to content
Inputsnew

Combobox

A filterable autocomplete input. The user can type to narrow down a large list of options.

LlmCombobox
WCAG AA0 deps

Demo

Live PreviewReact

Interactive demo coming soon. See the code example above.

jsx
<LlmCombobox
  placeholder="Search framework..."
  options={[
    { label: 'Angular', value: 'ng' },
    { label: 'React', value: 'react' },
    { label: 'Vue', value: 'vue' }
  ]}
/>

API (Angular)

PropTypeDefaultDescription
valuestring''Controlled value
onValueChange(value: string) => voidCalled when selection changes
optionsLlmComboboxOption[][]Array of { label, value } objects
placeholderstring''Placeholder text
disabledbooleanfalseDisables the combobox
invalidbooleanfalseApplies invalid/error styling

Import

ts
import { LlmCombobox } from '@atelier-ui/angular';

Accessibility

ARIA rolecombobox

KeyAction
TypeFilter the options. The list updates in place.
Arrow DownOpen the list (if closed) and focus the first matching option.
Arrow Up / DownMove between filtered options.
EnterSelect the highlighted option.
EscapeClose the list and clear focus.
  • The input has aria-autocomplete="list" and aria-expanded reflects the open state.
  • The list is exposed as aria-activedescendant so screen readers announce the highlighted option without losing text-caret focus.