Button Components
Radio Button
Animated radio button component with label and description support
An animated radio button component with support for labels, descriptions, and custom icons.
Installation
Import
Props
Prop | Type | Required | Default | Description |
---|---|---|---|---|
selected | boolean | Yes | - | Selection state |
onSelect | () => void | Yes | - | Selection handler |
label | string | Yes | - | Button label |
value | string | No | - | Optional value text |
description | string | No | - | Optional description |
color | string | No | theme.primary | Custom color |
icon | React.ReactNode | No | - | Optional icon |
height | number | No | - | Custom height |
Examples
Was this page helpful?