About
A card that shows a habit's title and lets you toggle which days of the week it repeats on, with chips marking the recurrence label.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Habit Tracker Card to your project and fits it to your theme.
Code
How Habit Tracker Card is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import HabitCard from "@/components/ui/habit-tracker-card";
export default function HabitTrackerCardDemo() {
return (
<div className="flex w-full items-center justify-center p-10">
<div className="w-full max-w-sm rounded-2xl border border-border bg-card p-5 shadow-sm">
<HabitCard
data={{
title: "Meditate",
days: [1, 2, 3, 4, 5],
perWeek: null,
label: "Weekdays",
}}
interactive={true}
/>
</div>
</div>
);
}











