This page as markdown: /marker.md · Index for agents: /llms.txt · Everything in one file: /llms-full.txt

Marker

Status: stable

A non-message row in a conversation: streaming status, system note, bordered notice, or a labelled rule for date breaks. Quieter than the message tier by design.

Keywords: chat status, typing indicator, thinking, streaming, tool call, system message, date separator, date break, conversation divider

Usage

Everything in a conversation that is not a message. Date breaks, "Carla joined", "Thinking…", "Ran search — 3 results", "Message failed to send". One component because they share one job: annotate the stream without competing with it.

Best practices

Props

Name Type Default Description
variant "status" | "note" | "bordered" | "separator" "status" status for live activity, note for a system event, bordered for a note that needs containing, separator for a labelled rule.
icon string — Semantic icon name shown before the label, resolved through IconProvider.
spin boolean false Spin the icon — pair with icon="spinner" for work in flight.
shimmer boolean false Sweep the label while something is streaming, via the scale-aware motion-text-shimmer recipe (freezes under reduced motion).
live boolean true for status, false otherwise Announce the label to assistive tech as it changes. On for status, because a screen-reader user otherwise gets silence for the whole generation and no way to tell a slow answer from a dead one.
...div props ComponentPropsWithRef<"div"> — Spread onto the row.

Variants

Tokens used

muted-foreground, muted, border, foreground

Accessibility

Related

Examples

Streaming status

import { Marker } from "@sableui/react"

<Marker icon="spinner" spin shimmer>Thinking…</Marker>

Date break

import { Marker } from "@sableui/react"

<Marker variant="separator">Yesterday</Marker>

System note

import { Marker } from "@sableui/react"

<Marker variant="note" icon="user">Carla joined the conversation</Marker>

A notice that needs containing

import { Marker } from "@sableui/react"

<Marker variant="bordered" icon="warning">This conversation will be archived in 7 days.</Marker>

In a transcript

import { Bubble, Marker, Message, MessageScroller } from "@sableui/react"

<MessageScroller className="h-96">
	<Marker variant="separator">Today</Marker>
	<Message messageId="m1"><Bubble>Can you summarise the release?</Bubble></Message>
	<Marker variant="note" icon="sparkles">Ran changelog — 12 entries</Marker>
	<Marker icon="spinner" spin shimmer>Writing the answer</Marker>
</MessageScroller>