Radio Group Field Input
Radio Group Field Input: Card-style radio group for checkout and settings flows. Vertical or horizontal layout, descriptions, and arrow-key navigation. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Radio Group Field Input
npx motion-ui-skill add radio-group-field-inputComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Radio Group Field Input
Card-style radio group for checkout and settings flows. Vertical or horizontal layout, descriptions, and arrow-key navigation.
Install
npx motion-ui-skill add radio-group-field-input
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { RadioGroupFieldInput } from "@/components/inputs/radio-group-field-input";
export function RadioGroupFieldInputDemo() {
return (
<div className="flex items-center justify-center p-6">
<RadioGroupFieldInput />
</div>
);
}
API Reference
RadioGroupFieldInput
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |