Skip to content
Look

Shared with the landing page. Theme is the select beside this menu.

StatusDot

Open .md
Live preview

Loading example…

StatusDot is part of the Atoms set, imported from @jcsoftdev/ui/atoms.

import { StatusDot } from "@jcsoftdev/ui/atoms";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/atoms/status-dot.

<StatusDot tone="success" label="Pagado" showLabel shape="dot" />
Prop Type Default Description
classNames Partial<Record<StatusDotPart, string>> Per-part classes merged with cn; consumer classes win. className still targets the root and is merged last.
tone * StatusDotTone
label * string Text describing the status: color is never the only signal.
showLabel boolean
shape "dot" | "square" "dot"
hollow boolean Hollow variant: transparent fill with an accent inner ring.

* marks a required prop.

It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).

packages/ui/src/atoms/status-dot/status-dot.tsx