This page as markdown: /inline-status.md · Index for agents: /llms.txt · Everything in one file: /llms-full.txt

InlineStatus

Status: stable

A borderless single-line status message — a leading semantic icon + one line of text over the canonical tone scale (neutral/info/success/warning/destructive). The non-boxed sibling of Note for inline affirmations, errors, and progress; pass a custom icon (e.g. a Spinner) for a pending row.

Keywords: inline status, state, message, availability

Usage

Use InlineStatus for short state messages placed near the thing they describe.

Best practices

Props

Name Type Default Description
tone "neutral" | "info" | "success" | "warning" | "destructive" "neutral" Severity tone — drives the leading icon (name + color) and the text color. The shared status-tone vocabulary (STATUS_TONES).
size "sm" | "md" "sm" Text size: sm (text-body-sm) or md (text-body-md). sm is the default for inline placement under a control; md matches surrounding body copy.
icon ReactNode — Override the leading glyph (e.g. a ); otherwise the tone selects it.

Variants

Tokens used

tone-info, success, tone-warning, destructive, muted-foreground

Accessibility

Related

Examples

Tones

import { InlineStatus, Stack } from "@sableui/react"

<Stack gap={1}><InlineStatus tone="success">Top-up confirmed.</InlineStatus><InlineStatus tone="destructive">Insufficient balance.</InlineStatus></Stack>

Pending (custom icon)

import { InlineStatus, Spinner } from "@sableui/react"

<InlineStatus tone="neutral" icon={<Spinner size="sm" />}>Preparing transaction…</InlineStatus>