Outline Nav
A progress outline for a course, guide or checklist. Groups of steps hang on a rail with a state marker each: the check draws itself, the connector fills, one highlight glides to the current row and the progress counts up.
pixikit.com/docs/app-ui/navigation/outline-nav
Customize
Collapsible
Show progress
Density
Loading
Props
19| Name | Type | Default | Description |
|---|---|---|---|
groups | OutlineGroup[] | DEFAULT_GROUPS | The groups of steps, in order. |
current | string | None | The id of the current item, when you hold the state. |
defaultCurrent | string | None | The current item at first, when the outline holds the state. |
onNavigate | (id: string) => void | None | Called with the id of the item the user opens. |
completed | string[] | None | The ids of the finished items, when you hold the state. Item states are then derived from it. |
defaultCompleted | string[] | None | The finished items at first, when the outline holds the state. |
onCompletedChange | (ids: string[]) => void | None | Called with the finished ids when the user toggles a marker or presses Space on a row. |
collapsible | boolean | true | Groups open and close; off keeps them all open. |
open | string[] | None | The ids of the open groups, when you hold the state. |
defaultOpen | string[] | None | The open groups at first; default is the group with the current item. |
onOpenChange | (ids: string[]) => void | None | Called with the ids of the open groups after a change. |
showProgress | boolean | true | Shows the progress header and the count on each group. |
title | string | None | A heading above the progress. |
subtitle | string | None | A line under the heading. |
lockedHint | string | None | Text shown on a locked row when it is hovered or focused. |
onLockedSelect | (id: string) => void | None | Called with the id of a locked item the user tries to open. |
density | "compact" | "comfortable" | "comfortable" | The height of a row. |
loading | boolean | false | Shows placeholder rows instead of the outline. |
className | string | None |