Back to blocks
BlockDashboard / ApplicationFree

Radio Group Cards React component

A create-resource screen built from radio card groups: plan cards with prices and features, region cards with latency bars and one at capacity, and compute size cards that lock on the free plan. A sliding selection outline moves between cards, a monthly or yearly switch reprices everything, and a summary with an animated total creates the database.

About the Radio Group Cards component

Radio Group Cards turns a set of choices into big, readable cards. This block is a full create screen for a database: pick a plan, a region and a compute size, and see the price add up as you go.

Each card is a real radio button inside a label, so clicking anywhere on it works and arrow keys move through a group. A selection outline slides from card to card, cards that can't be picked are disabled, and the summary on the right updates with an animated total.

When to use it

Use it when options need more than a word: plans with prices, regions with latency, sizes with specs, shipping speeds or delivery slots.

Keep each group to two to six cards. For longer lists, use a select or a searchable list instead.

Installation

Add the Radio Group Cards component to your project with the shadcn CLI. It lands in components/radio-group-cards.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/radio-group-cards

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More Dashboard / Application components

Vertical Navigation
Free
Form Layout
Free
Event Calendar
Free
Action Panel
Free
Gantt Chart
Free
Stacked List
Free