Skip to content
PanelUI KitCompany design system
0.3.0-alpha.3
ComponentsForms

RadioGroup

Experimental

Choose one option from a visible set.

panel-ui-kit/radio-group
Example

Tab to explore focus and keyboard behavior.

example.tsx
'use client'; import 'panel-ui-kit/styles.css';import { PanelUiTheme } from 'panel-ui-kit/theme';import { RadioGroup, RadioGroupItem } from 'panel-ui-kit/radio-group';import { Label } from 'panel-ui-kit/label'; export function Example() {  return (    <PanelUiTheme theme="neutral" motion={{"mode":"full","durationScale":1,"intensity":1}}>      <RadioGroup defaultValue="monthly" name="frequency" aria-label="Update frequency">        <div style={{ display: "flex", alignItems: "center", gap: 12 }}><RadioGroupItem id="weekly" value="weekly" /><Label htmlFor="weekly">Weekly</Label></div>        <div style={{ display: "flex", alignItems: "center", gap: 12 }}><RadioGroupItem id="monthly" value="monthly" /><Label htmlFor="monthly">Monthly</Label></div>      </RadioGroup>    </PanelUiTheme>  );}

When to use

Name the group and each item. Use Checkbox for independent choices and Select for a longer list.

Keyboard

Tab enters the selected option. Arrow keys move and select; disabled items are skipped.

Properties

PropertyValuesDefault
value / defaultValuestringCaller owned
orientationhorizontal · vertical—
nameNative form field—
motionfull · reduced · off · objectInherited
Panel UI KitShared components. Product identity.