Documentation

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 radio

Usage

import { Radio } from 'kalki-design'

export default function Example() {
  return <Radio />
}

API Reference

NameTypeDefaultDescription
NamelabelTypestringDefaultDescriptionLabel rendered next to the radio.
NamehelperTextTypestringDefaultDescriptionSupplementary text below the label.
NameerrorTypestring | booleanDefaultDescriptionError state message or styling.
NamedisabledTypebooleanDefaultfalseDescriptionPrevents interaction.