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 { MdCreditCard, MdAccountBalance, MdPayment } from "react-icons/md";
export default function CheckboxCardPaymentMethodsDemo() {
return (
<CheckboxCardGroup className="grid-cols-3 max-w-2xl">
<CheckboxCardItem
icon={<MdCreditCard className="size-5 text-icon" />}
label="Credit Card"
description="Visa, Mastercard, Amex"
defaultChecked
/>
<CheckboxCardItem
icon={<MdAccountBalance className="size-5 text-icon" />}
label="Bank Transfer"
description="Direct ACH payments"
defaultChecked
/>
<CheckboxCardItem
icon={<MdPayment className="size-5 text-icon" />}
label="PayPal"
description="Pay with PayPal balance"
/>
</CheckboxCardGroup>
);
}
















