Marker

Display an inline status, note, bordered row, or labeled separator.

Switched to a new branch
Thinking…
Conversation compacted
Explored 4 files

Usage

Use .marker on a semantic element. Place an optional decorative SVG before a <span> containing the text. Add data-variant="separator" or data-variant="border" for the other layouts. No JavaScript is required.

<div class="marker" role="status">
  <svg aria-hidden="true" class="animate-spin motion-reduce:animate-none" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12a9 9 0 1 1-6.219-8.56" /></svg>
  <span>Compacting conversation</span>
</div>

Use role="status" when the text updates dynamically, and hide decorative icons from assistive technology. A labeled separator needs no role="separator"; its text remains available to screen readers. Use a real <a> or <button> for actions.

Examples

Variants

A default marker for inline notes.
A separator marker
A border marker for row boundaries.

Status

Compacting conversation
Running tests

Shimmer

Use shimmer on text for an animated highlight. Text stays static in browsers without relative-color support, with reduced motion enabled, or in forced-colors mode.

Thinking…
Reading 4 files

Separator

Today
Worked for 42s
Conversation compacted

Border

Switched to release-candidate
Reviewed 8 related files
Opened implementation notes

With icon

Switched to a new branch
Explored 4 files
Syncing completed

The button uses Toast for feedback. Load the Basecoat runtime and Toast script, or the full JavaScript bundle, once on your page. Use the included toaster if your page does not already have one.

View the pull request

    RTL

    تم التبديل إلى فرع جديد
    تم ضغط المحادثة