Draft. Ported from the shadcn-vue Marker (registry style reka-nova, read 12 November 2026). Not yet approved; the API may still change.
A marker is a short line of small, quiet text that labels a point in a list, a feed or a log. It is not part of the content around it; it tells people where they are in it.
When to use
- To split a long log by day: “Today”, “Yesterday”.
- To note an event between entries: “An admin paused order sync at 09:12.”
- To start a group in a list: “Earlier this week”.
When not to use
- For a page or card heading. Use a heading.
- For a line with no label. Use a separator.
- For a message people must act on. Use an alert.
Variants
| Variant | Looks | Use it for |
|---|---|---|
default |
Text, with an icon before it if you add one | An event |
separator |
A line on each side of the text | Days or other breaks in a long list |
border |
A line under the text | The start of a group |
Content
- A few words, or one short sentence for an event.
- Sentence case. A label has no full stop; an event sentence does.
- A link inside says what it opens: “Open sync settings”.
Tokens
| Part | Tokens |
|---|---|
| Text | font.body.small, color.text.subtle; a link turns color.text on hover and stays underlined |
| Lines | color.border, border.width.default; space.050 between a line and the text |
| Gap, icon | space.100; icon size.icon.default |
| Border variant | space.100 above the line |