properui

Radio Buttons

Pricing

About

A group of radio buttons for choosing exactly one option from a small, always-visible set of mutually exclusive choices, with optional label and hint text.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Radio Buttons to your project and fits it to your theme.

Code

How Radio Buttons is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { RadioButton, RadioGroup } from "@/components/ui/radio-buttons";

export default function RadioButtonExampleDemo() {
  return (
    <RadioGroup aria-label="Pricing plans" defaultValue="basic">
      <RadioButton
        label="Basic plan"
        hint="Up to 10 users and 20 GB data."
        value="basic"
      />
      <RadioButton
        label="Business plan"
        hint="Up to 20 users and 40 GB data."
        value="business"
      />
      <RadioButton
        label="Enterprise plan"
        hint="Unlimited users and unlimited data."
        value="enterprise"
      />
    </RadioGroup>
  );
}

Dependencies

More by properui

View all
  • Command Menu

    Command Menu

    21
  • Loading Indicator

    Loading Indicator

    11
  • Breadcrumbs

    Breadcrumbs

  • Toggle

    Toggle

  • Tags

    Tags

  • Progress Indicators

    Progress Indicators

  • Button

    Button

  • Badge

    Badge

More in Pricing

View all
  • Pricing Section 1

    Pricing Section 1

    109
  • Toggle Pricing Cards

    Toggle Pricing Cards

    111
  • Executive Pricing Plan

    Executive Pricing Plan

    20
  • Pricing Card

    Pricing Card

    589
  • Single Pricing Card

    Single Pricing Card

    828
  • Pricing Section

    Pricing Section

    732
  • pricing section

    pricing section

    190
  • Pricing Section

    Pricing Section

    219