motionsnack

Animated React sections that already feel finished.

Copy them into Next.js or add them with one command. Plain React and Tailwind, light and dark.

New sections, once a month

One short email when something new lands. No spam.

Library

  • Sections
  • Blocks
  • Components
  • Application UI
  • Templates

Popular

  • Hero
  • Gallery
  • Testimonials
  • Stats
  • Logos
  • FAQ

Resources

  • Installation
  • All components
  • All blocks
  • All sections
  • All application UI
  • Design system
  • Changelog
  • Pricing

Company

  • About
  • Contact
  • Terms
  • Privacy

Install

npx motionsnack add <name>Step-by-step guidehello@motionsnack.dev
Kuba Šťastný@kubastastnydev

© 2026 motionsnack. All rights reserved.

TermsPrivacy

motionsnack

motionsnack
DocsSectionsTemplatesWhat's newPricing
Get lifetime access
  1. Home
  2. Docs
  3. Components
  4. Radio
  5. Radio Group
ComponentsBlocksSectionsApplication UI
ComponentsBlocksSectionsApplication UI

Accordion

  • Spring Accordion

Alert

  • Glow Alert

Audio

  • Podcast PlayerNew
  • Voice NoteNew
  • Voice RecorderNew

Avatar

  • Avatar Stack

Badge

  • Pulse Badge

Breadcrumb

  • Slide Breadcrumb

Button

  • Chip ButtonNew
  • Glow Border Button
  • Glow ButtonNew
  • Plain ButtonNew

Calendar

  • Month Calendar

Checkbox

  • Checkbox CardsNew
  • Checkbox GroupNew
  • Chip CheckboxNew

Cropper

  • Image Cropper

Dialog

  • Spring Dialog

Dropdown

  • Command MenuNew
  • Stagger Dropdown
  • Switcher DropdownNew

File Upload

  • Drop Zone Upload

Input

  • Addon InputNew
  • Button InputNew
  • Copy InputNew
  • Date InputNew
  • Floating Label Input
  • Joined InputsNew
  • Notched Label InputNew
  • Number StepperNew
  • OTP InputNew
  • Password InputNew
  • Phone InputNew
  • Range InputNew
  • Search InputNew
  • Tag InputNew
  • Text FieldNew

Loader

  • Curtain LoaderNew
  • Greeting LoaderNew
  • Line LoaderNew
  • Meter LoaderNew
  • Split LoaderNew

Navigation Menu

  • Mobile Tab BarNew

Notification

  • Notification BellNew
  • Toast Stack

Pagination

  • Sliding Pagination

Popover

  • Spring Popover

Radio

  • Card Radio Group
  • Payment MethodNew
  • Radio GroupNew
  • Rating RadioNew

Select

  • ComboboxNew
  • Glide Select
  • Multi SelectNew
  • Rich SelectNew
  • Select FieldNew
  • Tree SelectNew

Sidebar

  • Icon RailNew

Slider

  • Glow Slider

Stepper

  • Progress Stepper

Switch

  • Billing SwitchNew
  • Switch RowNew
  • Toggle SwitchNew

Table

  • Sortable Table

Tabs

  • Sliding Tabs

Textarea

  • Auto Grow Textarea

Toggle

  • Icon ToggleNew
  • Theme ToggleNew
  • Toggle GroupNew

Tooltip

  • Follow Tooltip

Radio

Radio Group

New

A group of radios as rows with descriptions, a segmented bar with a sliding thumb, or bordered cards.

npx motionsnack add radio-group

Customize

Error Colour
<RadioGroup />

Props

16 properties

PropertyTypeDefaultDescription
options{ value: string; label: string; description?: string; disabled?: boolean }[]Monthly / Yearly / LifetimeThe options.
valuestring-Chosen value (controlled).
onChange(value: string, option?: RadioGroupOption) => void-Called with the new value and the picked option when the visitor picks an option.
namestringgeneratedName of the radios, sent with a form.
idstringgeneratedId prefix of the radios.
classNamestring''Extra classes on the fieldset.
variant'list' | 'segmented' | 'cards''list'Circles in rows, a bar with a sliding thumb, or bordered cards.
layout'vertical' | 'horizontal''vertical'Options under each other or side by side. The segmented look is always a row.
labelstring'Billing'Legend above the options. Empty hides it.
descriptionstring'You can switch at any time.'Line under the legend. Empty hides it.
defaultValuestring'yearly'Value chosen at first render. Empty chooses nothing.
helperTextstring''Small text under the group. Empty hides it.
errorstring''Error message. Any text colours the unchecked circles' edge and replaces the helper text.
errorColorstring''Overrides the per-theme error colour. Empty uses the theme pair.
requiredbooleanfalseMarks the group as required.
disabledbooleanfalseDisables every option.

About Radio Group

Radio Group is for one answer out of a few: a billing period, a plan or a delivery option. It comes in three looks built on the same native radios, so arrow keys, forms and screen readers work without extra code. The list shows a circle next to each label with an optional second line; the chosen circle fills in as its dot scales up. The segmented look turns the options into one bar where a black or white thumb slides to the chosen option and inverts its text. The cards look gives every option a bordered card with the circle at the right, and the chosen card gets a full-contrast border. A legend, a description, helper text, a required mark, disabled options and an error state that turns the circles red are built in, and keyboard focus shows the library's soft outline.

What's included

  • Three looks: list, segmented bar, cards
  • Native radios: arrow keys, forms and screen readers
  • Dot that scales in on the chosen option
  • Thumb that slides to the chosen segment
  • Vertical or horizontal layout
  • Legend, description, helper text and error state
  • Light and dark look
Type
Animated React radio component
Library
Components · Radio
Stack
Next.js, React, Tailwind CSS
Added
2026-11-23
Install
npx motionsnack add radio-group