Mahmoud Ilyan

Checkbox Card

Pricing

About

A card-style checkbox selection item with optional icon, label, description and price addon, used to build visual multi-select option groups like notification or payment preferences.

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

Code

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

Usage.tsx

import CheckboxCardItem, {
  CheckboxCardGroup,
} from "@/components/ui/checkbox-card-item";
import { MdInsights, MdPeople, MdShoppingCart } from "react-icons/md";

export default function CheckboxCardAddonFeaturesDemo() {
  return (
    <CheckboxCardGroup className="max-w-lg">
      <CheckboxCardItem
        icon={<MdInsights className="size-5 text-icon" />}
        label="Advanced Analytics"
        description="Conversion funnels, cohort analysis, and revenue attribution"
        addon={
          <span className="text-xs font-medium text-primary-solid">
            + $19/mo
          </span>
        }
        defaultChecked
      />
      <CheckboxCardItem
        icon={<MdPeople className="size-5 text-icon" />}
        label="Team Collaboration"
        description="Invite up to 10 team members with role-based permissions"
        addon={
          <span className="text-xs font-medium text-primary-solid">
            + $29/mo
          </span>
        }
      />
      <CheckboxCardItem
        icon={<MdShoppingCart className="size-5 text-icon" />}
        label="Order Bump & Upsells"
        description="Post-purchase upsells and one-click order bumps on checkout"
        addon={
          <span className="text-xs font-medium text-primary-solid">
            + $9/mo
          </span>
        }
        defaultChecked
      />
    </CheckboxCardGroup>
  );
}

Dependencies

More by Mahmoud Ilyan

View all
  • Steps

    Steps

    5
  • Radio Card

    Radio Card

    1
  • Switch

    Switch

    1
  • Input

    Input

    1
  • Badge

    Badge

    1
  • Chart

    Chart

    1
  • Textarea

    Textarea

  • Tabs

    Tabs

More in Pricing

View all
  • Pricing Section

    Pricing Section

    707
  • Toggle Pricing Cards

    Toggle Pricing Cards

    98
  • pricing section

    pricing section

    181
  • Pricing Section

    Pricing Section

    209
  • Pricing Card

    Pricing Card

    578
  • Single Plan Pricing Card

    Single Plan Pricing Card

    28
  • Toggleable Add-on Pricing

    Toggleable Add-on Pricing

    211
  • Colorful-Pricing

    Colorful-Pricing

    96