Redpanda UIRedpanda UI
Components

Marker

Displays status updates, system notes, bordered rows, and labeled separators in conversations.

Made by shadcn
Loading component...

Powered by

Installation

Usage

import {
  Marker,
  MarkerContent,
  MarkerIcon,
} from "@/components/redpanda-ui/components/marker"
<Marker role="status">
  <MarkerIcon><Spinner /></MarkerIcon>
  <MarkerContent className="shimmer">Generating response…</MarkerContent>
</Marker>

Anatomy

Marker
├── MarkerIcon
└── MarkerContent

Variants

  • default: inline status, note, or action
  • border: row with a bottom divider
  • separator: centered label between divider lines

MarkerIcon is decorative and hidden from assistive technology. For progress updates, set role="status" on Marker and keep readable status text in MarkerContent.

Operational conversations

Use a separator marker to show where persisted or reconstructed history begins. Use default or bordered markers for tool activity, connection changes, handoffs, and other agent lifecycle events.

<Marker variant="separator">
  <MarkerContent>Earlier context reconstructed</MarkerContent>
</Marker>

<Marker role="status" variant="border">
  <MarkerIcon><SearchIcon /></MarkerIcon>
  <MarkerContent>Searched 12 resources</MarkerContent>
</Marker>

Reserve role="status" for updates that should be announced. Do not announce static separators or every low-value internal event.

Shimmer

The registry theme includes the full shimmer utility family: direction, duration, spread, angle, color, single-run, and disabled variants. It automatically disables motion when reduced motion is requested.

Polymorphic marker

Marker preserves the Shadcn UI Base render API.

<Marker render={<a aria-label="View activity" href="/activity" />}>
  View activity
</Marker>

Credits

Recent changes

  • patchv1.2.0Pin shipped dependency floors to the version we develop against. Registry items now declare ranges like `^5.1.9` (the actual installed version) instead of collapsing to `^5.0.0`, so consumers start on the known-tested baseline while caret semantics still allow any compatible release within the same major.#133
  • minorv1.1.0Theme docs refresh, readability pass on semantic foregrounds, and consumer-facing Base UI regression fixes.#121
  • minorv1.0.0Post-Base-UI polish. Public API unchanged.#116
  • majorv1.0.0Migrate every Radix-based primitive to `@base-ui/react@^1.4.0` (Base UI).#114
  • minorv0.3.0Add theme-provider component to the registry with documentation and tests. Includes playground type improvements (export RegistryItem, remove as-const boilerplate) and docs site dark mode border color fix.#109
See full history →
Built by malinskibeniamin. The source code is available on GitHub.

On this page