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 { MdEmail, MdSms, MdNotifications } from "react-icons/md";
export default function CheckboxCardNotificationPreferencesDemo() {
return (
<CheckboxCardGroup className="max-w-md">
<CheckboxCardItem
icon={<MdEmail className="size-5 text-icon" />}
label="Email Digest"
description="Daily summary of sales, refunds, and new subscribers"
defaultChecked
/>
<CheckboxCardItem
icon={<MdSms className="size-5 text-icon" />}
label="SMS Alerts"
description="Instant text for high-value orders and failed payments"
/>
<CheckboxCardItem
icon={<MdNotifications className="size-5 text-icon" />}
label="Browser Push"
description="Real-time notifications for new orders"
/>
</CheckboxCardGroup>
);
}
















