# Radio Group Card

> This RadioCard component is a modern, card-based alternative to traditional radio buttons. Instead of small circular inputs, each option is presented as a visually distinct card containing an icon, title, and optional description. When a card is selected, it highlights with a border and background color, and a glowing green dot appears in the top-right corner to clearly indicate the active choice. The design focuses on accessibility and user experience with smooth hover and focus states, responsive layout, and keyboard support (inherited from Radix). This makes it ideal for use cases such as theme selectors, preference panels, or plan pickers, where a more engaging and intuitive selection experience is desired compared to standard radio groups.

- Author: [Ruixen UI](https://21st.dev/@ruixen.ui)
- Library: [Ruixen UI](https://21st.dev/@ruixen.ui/library/ruixen-ui)
- License: unknown
- npm dependencies: @radix-ui/react-radio-group
- Live preview: https://21st.dev/@ruixen.ui/components/radio-group-card

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/ruixen.ui/radio-group-card?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt
