Accent theme

Base radius

Accent theme

Base radius

Colour scheme
Components

Radio Group

A real <fieldset> and <legend> grouping real <input type="radio"> elements that share one name. Arrow-key roving between options and "exactly one selected" are native radio button behaviour.

Plan
Usage
import { RadioGroup, RadioGroupItem } from "@kernelui/react";

<RadioGroup label="Delivery method" defaultValue="standard">
  <RadioGroupItem value="standard">Standard</RadioGroupItem>
  <RadioGroupItem value="express">Express</RadioGroupItem>
</RadioGroup>

Props

ComponentPropType
RadioGrouplabelReactNode (required)
RadioGroupvalue / defaultValuestring
RadioGrouponValueChange(value: string) => void
RadioGroupItemvaluestring (required)