Jump to a page or a component.
Full-width selectable rows — icon, label, description, check.
No install — ask an AI agent to copy this component from registry.json.
import { OptionList } from "@/components/ui/option-list";${testId}-<value> per row from data-testid.The props worth knowing. Everything else passes straight through to the underlying element, including className, which is merged last so it always wins.
| Prop | Type | Default | Description |
|---|---|---|---|
| options | { value, label, description?, icon? }[] | — | The choices, in order. |
| value | string | — | The selected option's value. |
| onValueChange | (value: string) => void | — | Called with a value when its row is clicked. |