4.2.0
Core

Marker

The centred row `Bubble` and `Message` both refuse — a date divider, an unread rule, or a system note about the conversation rather than a line in it.

Marker

A system note about the conversation, not a line in it — prose that may carry a link, kept in the body face because it is still a sentence someone should be able to read normally.

Moving the renewal call to Thursday.
Javi added Marta Ruiz to this thread. Undo
Thursday works. I will re-send the agenda this afternoon.

Usage

import { Marker, MarkerContent, MarkerIcon } from '@oceanic-hub/brand-system'
<Marker>
  <MarkerIcon>…</MarkerIcon>
  <MarkerContent>…</MarkerContent>
</Marker>

Composition

Use the following composition to build a Marker:

Marker
├── MarkerIcon
└── MarkerContent

Each variant reads as a different job, not a different look on one job. default is a system note — prose that may carry a link, kept in the body face because a sentence about the conversation is still a sentence. separator is a labelled divider — a date ("Yesterday"), an unread rule — set in the house eyebrow face (Figtree, sentence case, untracked) because a divider is metadata, not something anyone said. border keeps a status row in the same column as the messages around it while still marking it off underneath — reach for it instead of separator when the row should not read as a centred aside.

An unlabelled rule between two regions is still Separator — the only plain divider in the system. Reach for Marker's separator variant only once there is a word to hang between the two hairlines; a bare rule with nothing to say is the other component's job.

asChild turns the row into the control it sometimes needs to be — "Load 12 earlier messages" is a button drawn as a divider, not a divider sitting next to one. The two hairlines survive the swap because they are before/after pseudo-elements on the root, not sibling divs that would be left behind.

A marker mid-stream reaches for a Spinner inside MarkerIcon, with role="status" on the row itself — never a shimmering line of text, which would be another infinite animation, and core-layer.md § Motion closes that scale at three named ones (spin, ping, the owned pulse) with "no new infinite animation" as the standing refusal — the same argument that already keeps Attachment's uploading title from shimmering.

Separator

Two hairlines and a label between them — a date, an unread count — set in the house eyebrow face because a divider is metadata, never a sentence. An unlabelled rule is Separator instead; this variant only exists once there is a word to hang between the lines.

Anything else before we close this out?
Yesterday
Just the invoice — sending it now.
3 unread

Border

A hairline under the row, for a status line that still belongs in the same column as the messages around it — a muted reminder, a paused campaign — rather than a centred aside.

Can you mute this contact until next month?
Reminders for this contact are muted until 1 September.

In progress

role="status" on the row plus a Spinner in MarkerIcon — the icon stays decorative, the row's text is what a screen reader announces once it changes. No shimmering text: that would be another infinite animation, and the motion scale refuses new ones.

Summarize this thread for the handoff.
Generating summary…

A marker that is a control

asChild swaps the div for the single child and keeps every style, including the two hairlines — they are before/after pseudo-elements rather than sibling divs precisely so the rule survives the swap. A divider that loads earlier history is the case it exists for.

Pulling the last 90 days of activity for Northwind before the renewal call.

API Reference

See the Marker API page for every prop of every part, with types, defaults and the contract that pins them. It also documents markerVariants — exported alongside the parts, and signatures rather than props.

On this page