JollyUI
  1. Docs
  2. components
  3. Radio Group

Radio Group

A radio group allows a user to select a single item from a list of mutually exclusive options.

Favorite pet

Installation

npx @sly-cli/sly add jolly-ui radio-group

Note: Only the default style can be installed via CLI at the moment

Usage

Basic

Favorite pet

Orientation

Radio Groups are vertically oriented by default. The orientation prop can be used to change the orientation to horizontal.

Favorite avatar