Radio Group
Select one from a set, like choosing your favorite pizza topping; only one can win, ensuring clear choices.
Basic
A set of round buttons where you can select only one option from the group.
Preview
Code
Features
Installation
CLI
Manual
npx hq-kit add radio
Orientation
By default, the radio group is vertically oriented. You can change it to a horizontal orientation by using the orientation
prop.
Preview
Code
Payment Method
Without Label
The label is optional. You can omit it if not needed.
Parent Description
Add a description to the radio group by passing the description
prop.
Preview
Code
Shipping MethodSelect your preferred shipping method for the delivery of your items.
Children Description
Add descriptions to individual radio options using the description
prop.
Preview
Code
Invalid
When the radio group is in an error state, it cannot be edited.
Preview
Code
Features
Controlled
You can control the radio group value using the value
prop.
Preview
Code
Features
You have selected: Disabled
When the radio group is disabled, it cannot be interacted with.
Preview
Code
Features