Status

Presence, progress, unread, and compact status markers.

Preview#

Controls
import { Status } from "raft-ui";

<Status />

Variants#

Sizes#

Pulse#

Attention#

Content glow#

attention only styles the dot. Soft wash on the icon comes from a tinted duplicate of the underlying content, masked toward the marker. Same stack as elegant NotificationCenterTrigger.

Customize#

API#WIP

PropTypeDefaultDescription
variant"default" | "primary" | "information" | "muted" | "accent" | "success" | "warning" | "danger""default"Semantic status color.
size"xs" | "sm" | "md" | "lg""md"Dot diameter. xs is the old compact AttentionDot size.
pulsebooleanfalseAnimated status marker.
attentionbooleanfalseElegant-only glow ring. Used by NotificationCenterTrigger. No visual effect on brutal.
renderReactElement | (props, state) => ReactElementChange the root element.
...propsHTMLAttributes<HTMLSpanElement>Native span attributes plus className. Set --status-color for custom colors.