KodeKarsa UI

Forms

Radio

One choice out of several, as a list or as cards.

src/components/ui/radio.tsxBehavior from @ui-sdk/react/radio

List

Memuat

Choice cards

Memuat

Import

tsx
import { Radio, RadioCard, RadioGroup } from "@/components/ui/radio";

Guidelines

  • More than six options: use Select.
  • Up/down arrows move the choice; Tab enters and leaves the group.