Skip to content
RefineUI

Marker

Compact conversation event and labeled divider.

Marker presents low-emphasis conversation events such as tool activity, status, and section changes. Compose an optional MarkerIcon with RefineUI WebIcon or Spinner.

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

Overview

Machine-readable contract from Component Spec.

component: markerexport: Markerversion: 1attributes: data-refineui=marker

Anatomy

Partdata-refineui
rootmarker
iconmarker-icon
contentmarker-content

Variants

AxisValues
variantdefault, divider

Layout

PropertyValue
directionlogical
rtltrue
npm install @refineui/react @refineui/tokens
import { Marker, MarkerContent, MarkerIcon, Spinner, WebIcon } from "@refineui/react"; <Marker>  <MarkerIcon><WebIcon name="git" aria-hidden /></MarkerIcon>  <MarkerContent>Switched to a new branch</MarkerContent></Marker> <Marker role="status">  <MarkerIcon><Spinner size="sm" role="presentation" /></MarkerIcon>  <MarkerContent>Thinking...</MarkerContent></Marker> <Marker variant="divider"><MarkerContent>Conversation compacted</MarkerContent></Marker>
PropDefaultTypeDescription
variant"default""default" | "divider"Event row or labeled divider.

MarkerIcon accepts a WebIcon, Spinner, or another compact visual indicator. MarkerContent is required for the label and draws the divider lines when variant="divider". A role="status" marker inherits the Input OTP pulse motion for status text.