> ## Documentation Index
> Fetch the complete documentation index at: https://vlyai-1c28d863.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Habit tracker

> Daily check-ins, streaks, charts. ~30 minutes.

A personal habit tracker: define habits, check in daily, see streaks and trends.

**Time:** \~30 min. **Difficulty:** Beginner.

<Note>
  Full walkthrough being written.
</Note>

## Foundation prompt

```text theme={null}
A habit tracker. User defines habits ("drink water", "stretch", "read 30 min").
Each day, check off completed habits. Show today's habits at the top with checkboxes.

Streak: consecutive days completed for each habit. Show as a number with a flame icon.
Calendar view: per habit, show the last 90 days as a grid (green = done, gray = missed).

Stats: completion rate per habit per week / month.
```

## Related

<CardGroup cols={3}>
  <Card title="Notes app" icon="notebook-pen" href="/recipes/notes-app">
    Adjacent personal app.
  </Card>

  <Card title="Dashboard recipe" icon="chart-bar" href="/recipes/dashboard-with-charts">
    Charting techniques.
  </Card>

  <Card title="Scheduled functions" icon="clock" href="/convex/scheduled-functions">
    For reminders.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.