Dot nav
Vertical section-dot navigator: the current dot grows into a labelled pill, tooltips name the others, click to scroll, scroll-spy; dots or numbered-with-progress variants, either edge.
Preview
Dots, right edge
Numbered with progress, left edge
Install
Pro source requires Pebble Pro. Try the full preview above.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| sections | { id: string; label: string }[] | — | Sections by element id, in page order. |
| container | RefObject<HTMLElement | null> | page | Scroll container to watch and scroll; the window when omitted. |
| offset | number (0–1) | 0.35 | Reading line as a fraction of the container height. |
| side | "left" | "right" | "left" | Direction the pill grows and tooltips open. |
| label | string | "Sections" | Accessible name of the navigation. |
| onActiveChange | (id: string) => void | — | Called when the current section changes. |
| variant | "dots" | "numbered" | "dots" | Plain dots, or numbered markers on a progress line filled to the current section. |
| defaultTooltip | string | — | Section id whose tooltip starts open (a static preview of the hover label). |
Pro component
Try the full preview above. Editable source and build guides require Pebble Pro.
