About
A card that splits a bill total evenly among a chosen number of people, with an editable total amount and a stepper to adjust the headcount, live-recalculating each person's share.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Bill Split Card to your project and fits it to your theme.
Code
How Bill Split Card is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import SplitCard from "@/components/ui/split-card";
export default function SplitCardDemo() {
return (
<div className="flex min-h-screen w-full items-center justify-center bg-background p-8">
<div className="w-full max-w-sm rounded-2xl border border-border bg-card p-5 shadow-sm">
<SplitCard
data={{ total: 2400, people: 3, currency: "₹" }}
interactive
/>
</div>
</div>
);
}



