206
A habit tracker that makes ticking things off feel good: checks fill and draw in a beat, counted habits fill like a glass, streaks roll up, and a week grid lets you patch the days you forgot to log.
akahabit tracker·streaks·todo
Run this in any project set up for the shadcn CLI. It copies the Habits source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/habits.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { Habits } from "@/components/habits";
export default function Page() {
return <Habits />;
}A free React screen in the Personal collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Habits source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| className | string | — |
| habits | Habit[] | defaultHabits |
| weekStart | string | "2026-10-19" |
| todayIndex | number | 5 |
| productName | string | "Kindling" |