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. Payment Method
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

Payment Method

New

A checkout choice of payment methods as cards under each other, with Apple Pay, Google Pay, card, PayPal and bank marks.

npx motionsnack add payment-method

Customize

Error Colour
<PaymentMethod />

Props

15 properties

PropertyTypeDefaultDescription
methods{ id: string; label: string; description?: string; logos?: ('applepay' | 'googlepay' | 'visa' | 'mastercard' | 'amex' | 'paypal' | 'bank' | 'klarna')[]; details?: string; disabled?: boolean }[]Apple Pay, Google Pay, Card, PayPal, Bank transferThe payment methods, top to bottom, with the brand marks shown at the right.
valuestring-Chosen method id (controlled).
onChange(id: string, option?: PaymentMethodOption) => void-Called with the id of the method the visitor picks, and the method.
namestringgeneratedName of the radios, sent with a form.
idstringgeneratedId prefix of the radios.
classNamestring''Extra classes on the fieldset.
labelstring'Payment method'Legend above the methods. Empty hides it.
descriptionstring'All payments are encrypted and secure.'Line under the legend. Empty hides it.
defaultValue'applepay' | 'googlepay' | 'card' | 'paypal' | 'bank' | '''applepay'Method chosen at first render.
variant'stack' | 'joined''stack'Separate cards with a gap, or one box with hairline dividers.
helperTextstring''Small text under the methods. Empty hides it.
errorstring''Error message. Any text colours the unchecked circles' edge and replaces the helper text.
requiredbooleanfalseMarks the choice as required.
disabledbooleanfalseDisables every method.
errorColorstring''Overrides the per-theme error colour. Empty uses the theme pair.

About Payment Method

Payment Method is the step of a checkout where people pick how to pay. Each method sits on its own card under the one before: a radio circle on the left, the name and a short line under it, and the brand marks on small white chips at the right, the way checkout pages show them, for Apple Pay, Google Pay, Visa, Mastercard, Amex, PayPal and Klarna, with a plain line icon for a bank transfer. The chosen card gets a full-contrast border, its dot scales in and a line of detail opens smoothly inside it, such as a note that the payment is confirmed with Face ID, while the other cards fold theirs away. The methods can stand as separate cards or share one box with hairline dividers. Underneath are real radios, so arrow keys, forms and screen readers work as usual, and the group shares the library's legend, helper text, error state and soft focus outline.

What's included

  • Method cards with brand marks on white chips
  • Apple Pay, Google Pay, Visa, Mastercard, Amex, PayPal, Klarna and bank
  • Details that open inside the chosen card
  • Separate cards or one joined box
  • Native radios: arrow keys, forms, screen readers
  • Legend, helper text, error and disabled methods
  • 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 payment-method