Habit Tracker
7-day habit grid.
Tracks a set of habits across a 7-day grid you can tap to mark complete.
type · habit_tracker
Runs entirely in the shell — no backend needed.
How to use it
Just ask for it in chat — the agent emits this widget and the shell renders it:
Try saying
“a habit tracker for water, sleep, and reading”
Example
The agent returns this A2UI component (inside the components array of a /chat response):
habit_tracker.json
{
"type": "habit_tracker",
"habits": [
"Water",
"Sleep",
"Reading"
],
"color": "0xFF4CAF50"
}Properties
| Prop | Type | Description |
|---|---|---|
habits | string[] | Habit names |
color | color | Accent color |
Browse the full Widget Index, the Widget Catalog, or learn the A2UI system behind it.