About
A compact SVG strip that renders recent weeks day-by-day on a real calendar grid, shading each day by its value and showing days with no data differently from days with a zero value — useful for habit trackers and deploy-cadence widgets.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Calendar Strip to your project and fits it to your theme.
Code
How Calendar Strip is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { CalendarStrip } from "@/components/ui/calendar-strip";
const quietDays = Array.from({ length: 14 }, (_, i) => ({
date: new Date(Date.UTC(2026, 5, 18) + i * 86400000)
.toISOString()
.slice(0, 10),
value: 0,
}));
export default function CalendarStripAllZeroDemo() {
return (
<div className="flex items-center justify-center p-8">
<CalendarStrip
data={quietDays}
end="2026-07-01"
weeks={2}
title="Quiet fortnight"
style={{ width: 150, height: 42 }}
/>
</div>
);
}




