Earthling UI

  1. Components
  2. radio

RadioGroup

Prop
Default Value
Value
The color scheme of the radio group
scheme
default

Anatomy

<RadioGroup> <RadioGroupItem value="option-1" /> <RadioGroupItem value="option-2" /> </RadioGroup>

Installation

1
Ensure Earthling UI is installed
bun add earthling-ui
2
Import the component from earthling-ui
import { RadioGroup, RadioGroupItem } from "earthling-ui/radio"
The component is ready to use