← All forms

Core / Forms

Radio

Selects one option from a related set.

Live example

Interactive preview using local sample data. Styling is intentionally left to the consuming project.

Usage

<Radio name="plan">Starter</Radio>

Adopt to your project

Keep this component semantically neutral. Use its documented props for behavior and className for project-specific spacing, width, typography, and visual treatment.

Accessibility

Every option in a group shares the same name.

API reference

Public attribute
name
checked
onChange
disabled
children

The preview above uses a safe local fixture. Confirm exact TypeScript props when adapting it to your application.

Installation

Full library
pnpm install:project /absolute/path/to/your-project

Planned guided selection
Forms → Radio