Jump to a page or a component.
Standalone swatch cards for a choice that deserves a real preview.
No install — ask an AI agent to copy this component from registry.json.
import { OptionGrid } from "@/components/ui/option-grid";${testId}-<value> per card 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?, swatch: ReactNode, style? }[] | — | The choices, in order. |
| value | string | — | The selected option's value. |
| onValueChange | (value: string) => void | — | Called with a value when its tile is clicked. |