Docs
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 shadcn-ui@latest add radio-group

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