Skip to content

components/status

@fungi.computer/caps


@fungi.computer/caps / components/status

StatusShape = "dot" | "pill" | "bang"

The bead’s target silhouette. Changes morph from its current appearance.


StatusMotion = "none" | "pulse" | "bounce"

Continuous activity, independent of the target silhouette.


StatusTone = "neutral" | "primary" | "secondary" | "accent" | "success" | "info" | "warning" | "error"

Semantic colors supplied by the current Stipe theme.


StatusProps = object & Omit<HTMLAttributes<HTMLSpanElement>>, "children">>

Presentation only: the caller maps its state to shape, tone, and motion.

optional label?: ReactNode

optional shape?: StatusShape

optional motion?: StatusMotion

optional tone?: StatusTone

const Status: ForwardRefExoticComponent<object & Omit<HTMLAttributes<HTMLSpanElement>>, "children"> > & RefAttributes<HTMLSpanElement>>>>

A gooey SVG status bead with automatic, interruptible shape transitions.