The milestones of a project in one row, each with its progress, its date and what is left. Pick one to filter the tasks under it, pick it again to show all of them.
On this page
- Project overview
- Release plan
- Launch checklist by phase
- Filtering tasks by milestone
- Roadmap strip on a dashboard
Examples
Done, active and late
Done draws a full green line and a quiet title, active and upcoming carry the accent as far as they got, late turns the line and the date red. Progress is 0 to 1; meta replaces the default note after the date.
Installation
Installation is part of Pro
Pro components install from a licensed registry. The live preview stays open to everyone.
Props
- milestones
{ id, title, due, state, progress?, meta? }[]- In order. due is the date as you want it read; state is done, active, upcoming or late; progress is 0 to 1.
- value / onValueChange
string|null / (id | null) => void- The picked milestone, or null for all. Picking the picked one again sends null.
- controls
string- The id of the list the track filters, for aria-controls.
- label
string- Default
"Milestones" - The accessible name of the group.
- className
string- On the row.
| Prop | Type | Default | Description |
|---|---|---|---|
| milestones | { id, title, due, state, progress?, meta? }[] | - | In order. due is the date as you want it read; state is done, active, upcoming or late; progress is 0 to 1. |
| value / onValueChange | string | null / (id | null) => void | - | The picked milestone, or null for all. Picking the picked one again sends null. |
| controls | string | - | The id of the list the track filters, for aria-controls. |
| label | string | "Milestones" | The accessible name of the group. |
| className | string | - | On the row. |
What it handles
- 01Puts every milestone of a project in one row: a hairline of progress on top, the title, the date and what is left.
- 02Works as a filter: pick a milestone and the list under it narrows, pick it again and everything shows. The value is the milestone id or null.
- 03Reads the state at a glance: done milestones are quiet, the active one carries the accent, a late one reads its date in red.
- 04Moves with the arrow keys, Home and End along one tab stop, and each milestone says whether it is picked (aria-pressed) and which list it controls.
- 05Scrolls sideways on a phone with snap points, so five milestones fit a 390px screen without wrapping.
States
- First render
- Nothing moves
- none
- Pick a milestone
- Its cell takes the muted fill and ring
- 120ms, ease out
- Hover
- A light fill
- 120ms, ease out
- Reduced motion
- Changes are instant
- 0ms
| State | What moves | Timing |
|---|---|---|
| First render | Nothing moves | none |
| Pick a milestone | Its cell takes the muted fill and ring | 120ms, ease out |
| Hover | A light fill | 120ms, ease out |
| Reduced motion | Changes are instant | 0ms |
Works with
When to use
When to use
- The milestones of a project in one row, picked to filter the tasks under them.
- A strip of phases with how far each got, on an overview or a dashboard.
When not to use
- Steps of a form someone walks through: use Stepper.
- Milestones on a day grid: use Gantt Timeline.
Using with AI
Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:
- Add the Knowns UI Milestone Track to my app and wire it to my own data.
- I need the milestones of a project in one row, picked to filter the tasks under them. Set that up with the Knowns UI Milestone Track.
- Which Milestone Track props do I need for a minimal setup? Show me a short example.
With the server connected, your assistant calls get_component({ name: "milestone-track" }) and search_docs({ query: "milestone track" }). Pro props, full examples and source come back once your license key is in the MCP config.