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
Contract
Section titled “Contract”Overview
Machine-readable contract from Component Spec.
component: markerexport: Markerversion: 1attributes: data-refineui=marker
Anatomy
| Part | data-refineui |
|---|---|
| root | marker |
| icon | marker-icon |
| content | marker-content |
Variants
| Axis | Values |
|---|---|
| variant | default, divider |
Layout
| Property | Value |
|---|---|
| direction | logical |
| rtl | true |
Installation
Section titled “Installation”npm install @refineui/react @refineui/tokens yarn add @refineui/react @refineui/tokens pnpm add @refineui/react @refineui/tokens bun add @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> API Reference
Section titled “API Reference”Marker
Section titled “Marker”| Prop | Default | Type | Description |
|---|---|---|---|
| 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.