- Docs
- components
- Radio Group
Radio Group
A radio group allows a user to select a single item from a list of mutually exclusive options.
Preview
Code
Favorite pet
Installation
CLI
Copy & Paste
npx @sly-cli/sly add jolly-ui radio-group
Note: Only the default style can be installed via CLI at the moment
Usage
Basic
Preview
Code
Favorite pet
Orientation
Radio Groups are vertically oriented by default. The orientation prop can be used to change the orientation to horizontal.
Preview
Code
Favorite avatar