Block Parts
Option Row
A selectable card with a radio button or checkbox, a title and a short description.
Usage
Installation
npm install @wunderui/reactThen import what you need:
import { OptionRow, OptionRowGroup, OptionRowProps } from "@wunderui/react"API Reference
| Prop | Type | Default |
|---|---|---|
| title | ReactNode | — |
| description | ReactNode | — |
| variant | "radio" | "checkbox" | "link" | "icon" | "radio" |
| value | string | — |
| selected | boolean | false |
| onSelect | () => void | — |
| icon | ReactNode | — |
| badge | ReactNode | — |
| badgeColor | BadgeColor | "green" |
| disabled | boolean | — |
| href | string | "#" |
| className | string | — |