A modern habit tracker built with Next.js and Tailwind CSS.
This app helps you stay on track with daily habits, visualize progress, and monitor streaks over time. The dashboard includes today's habits, streak summaries, progress metrics, and habit insights for weekly and monthly tracking.
- Habit progress dashboard with cards for completed habits, current streak, success rate, and total active habits
- Today’s habits list showing completion state, progress, and daily habit details
- Habit streak tracking to visualize consistency and momentum
- Weekly and monthly insights for performance trends and progress over time
- Interactive habit table for reviewing habit details and status
- Responsive UI with a polished dashboard layout and dark mode-ready styling
- Next.js 16
- React 19
- Tailwind CSS v4
rechartsfor charts and visual insightslucide-reactandreact-iconsfor iconszodfor schema validationsonnerfor toast notifications
- Install dependencies
npm install- Start the development server
npm run dev- Open the app
Visit http://localhost:3000.
npm run dev— start the development servernpm run build— build the production appnpm run start— start the production server after buildnpm run lint— run ESLint
app/— Next.js app routes and layoutapp/dashboard/— habit tracker dashboard pages and datacomponents/— reusable UI components, cards, and dashboard widgetscomponents/ui/— shared design system componentshooks/— custom hookslib/— utility helperspublic/— static assets
The current implementation uses static sample data for dashboard metrics and habits. Update the dashboard components and data sources to connect a backend, add persistence, or extend the habit tracking logic.