Skip to main content
Urbicon UI
source

RadioGroup

Accessible radio group for single-option selection with semantic intents, keyboard navigation, and form integration.

Notification preference
Loading...
Loading syntax highlighting...

01 Examples

With descriptions

Pair each option with secondary text — the most common pattern for plan pickers, settings, and preferences.
Plan
Loading...
Loading syntax highlighting...

Per-item disabled

Disable individual options while the rest of the group stays interactive. Keyboard navigation skips disabled items.
Shipping speed
Loading...
Loading syntax highlighting...

Helper & error

Group-level helper and error text follow the same form-field contract as Input — `error` overrides `helper` when both are set.
Frequency
You can change this later in settings
Agreement
Loading...
Loading syntax highlighting...

02 Customization

Pricing Plan Selector

RadioGroup in a realistic settings context with bound value.
Choose your plan

Selected: pro

Loading...
Loading syntax highlighting...

Theme Selector

Horizontal layout for compact inline choices.
Appearance
Loading...
Loading syntax highlighting...

03 Accessibility

Native Semantics

Built on native <input type="radio"> elements inside a role="radiogroup" container for correct form behavior and assistive technology support. The group label is linked via aria-labelledby, and error/helper text via aria-describedby.

Keyboard

Tab into the group focuses the selected (or first) item. Arrow keys move between options and select automatically. Vertical groups use Up/Down, horizontal groups use Left/Right. Navigation wraps around at both ends.

Focus Management

Uses roving tabindex: only the selected item (or the first item when nothing is selected) is in the tab order. Disabled items are skipped during arrow key navigation. Focus rings use focus-visible: via the peer pattern for keyboard-only visibility.

Reduced Motion

All Mint effects and transitions respect prefers-reduced-motion. The dot transition is purely visual and does not affect interaction.

04 API Reference

21 props
21 props 1 required

No matching properties

No matching properties

05 Installation

Import

Loading...
Loading syntax highlighting...