@redrob-labs/ui v1.8.0 · Redrob Group Design System 2026

ComposerStatus

Agent chat · src/components/ComposerStatus/ComposerStatus.tsx

What will happen to this message, shown above the composer, before Send.

Privacy, memory, second opinion: the settings in force, each opening its own panel. This is the one place these appear BEFORE the message is sent - AnswerReceipt is the same subjects reported after. Stating them up front is what makes the checks a choice rather than a surprise.

aria-haspopup is claimed only for items that actually have a panel.

Import

import { ComposerStatus } from '@redrob-labs/ui';

Rendered

The design system's own preview case, run against this package's build. The parity gate compares this rendering to the reference bundle's.

Props

PropTypeNotes
items Array<ComposerStatusItem | false | null | undefined>
label string
open string | null
defaultOpen string | null
className string
onOpenChange (id: string | null) => void
align 'start' | 'center' | 'end' Lines the open panel up with its active status button. Defaults to start. Also reflected as a data-align attribute (only for a non-default value) so a consumer can style the fallback; the live positioning is done in JS.
density 'full' | 'compact' compact shows each chip as icon + name only: the value is kept for assistive tech (visually hidden) and the level bars are dropped; the live indicator stays. Defaults to full (value + level visible). Sets data-density="compact" and reads --rr-cstatus-gap for the chip spacing.

Exported types

ComposerStatusItem