Radio
A control that allows the user to select a single option from a set.
Examples
import { Radio } from 'kalki-design'
<Radio></Radio>Installation
npx kalki-design add radioUsage
import { Radio } from 'kalki-design'
export default function Example() {
return <Radio />
}API Reference
| Name | Type | Default | Description |
|---|---|---|---|
Namelabel | Typestring | Default— | DescriptionLabel rendered next to the radio. |
NamehelperText | Typestring | Default— | DescriptionSupplementary text below the label. |
Nameerror | Typestring | boolean | Default— | DescriptionError state message or styling. |
Namedisabled | Typeboolean | Defaultfalse | DescriptionPrevents interaction. |