Career Line
Each role is a station on a dotted line, years on one side, the way a transit map lays out its stops. As the page scrolls a small train rides down the line and each station lights up as it arrives; where you are now has the you-are-here ping, and a click on a station opens its details.
Needs: None. DOM and CSS.
Customize
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| stops | { when: string; title: string; place?: string; detail?: string; tags?: string[]; current?: boolean }[] | required | Your roles. current marks where you are now. |
| tone | string | "#dc4b2f" | The line's colour, as on a transit map. |
| follow | boolean | true | The train rides the line as the page scrolls. Off shows the whole line ridden. |
| className | string | – | Class on the list. |
| style | CSSProperties | – | Style on the list. Theme it through the --mlui-* variables. |