Skip to main content
v7

Radiobox

A styled radio input wrapped in a label, composing native radio semantics with accessible disabled and checked states.

Package@g4rcez/componentsSectionForm Controls

Examples

Basic Radio Group

Group Radiobox components with the same name to form a mutually exclusive selection.

Basic group
Notification preference

Controlled Selection

Track the selected value with useState and pass checked to each option.

Controlled
Billing cycle — selected: monthly

Disabled State

Pass disabled to prevent interaction. The label cursor changes to not-allowed.

Disabled
Plan tier

When to use Radiobox

Use when

You need the documented Radiobox interaction or presentation in a product workflow.

Avoid when

A native HTML element already provides the Radiobox behavior you need.

Accessibility

Keep the Radiobox labeled and use its documented keyboard interaction. The component preserves visible focus and communicates state without relying on color alone.