Skip to content
SevenUI
Sign in
On this page

Marker

An inline marker with icon and content for annotating UI, such as status notes, highlights, and callouts inside text.

Alex joined the conversation
All messages read · View history

Installation

Bash

Usage

Markers annotate flows — typically conversation threads next to Message — with inline status notes, date separators, or row boundaries. Add role="status" when the marker announces progress; links and buttons work inside the content.

Examples

Variants

separator centers the label between divider lines (date breaks); border underlines the row (for example an unread boundary).

Default — inline status note
Today
Unread messages below

API reference

Marker

Renders a div by default; swap the element with the Base UI render prop to make the whole marker a link or button.

PropTypeDefault
variant"default" | "separator" | "border""default"
renderReact.ReactElementdiv

MarkerIcon and MarkerContent

Extend span. MarkerIcon is decorative (aria-hidden) — give the marker an aria-label if it would otherwise be icon-only. markerVariants is also exported for styling custom elements.

Was this page helpful?