Rippling status dot for inline copy and deployment dashboards.
npx shadcn@latest add @iconiq/status-dot"use client";
import { StatusDot } from "@/components/ui/status-dot";
export function StatusDotPreview() {
return (
<p className="flex flex-wrap items-center justify-center gap-x-2 gap-y-2 text-balance text-center font-medium text-lg leading-snug dark:text-neutral-100">
<span>Right now, production is</span>
<StatusDot className="translate-y-px" state="READY" />
<span>live for every region.</span>
</p>
);
}stateDeployment preset that maps to tone, default label, and default animation. Use this or `tone`.
Type "QUEUED" | "BUILDING" | "ERROR" | "READY" | "CANCELED"
toneGeneric presence tone when you do not need deployment vocabulary. Use this or `state`.
Type "neutral" | "active" | "success" | "warning" | "error"
showLabelShows visible label text beside the dot. Defaults to dot-only for inline copy.
Type boolean·Default false
labelOptional label override used for visible copy and screen reader naming.
Type string
animateOverrides ripple animation. Defaults to active states only, such as `BUILDING` or `tone="active"`.
Type boolean
sizeScales the dot, ripple spread, and hit area together.
Type "sm" | "md" | "lg"·Default "md"
inlineUses an inline-flex root for embedding inside sentences and compact rows.
Type boolean·Default true
classNameClasses applied to the root element.
Type string
labelClassNameClasses applied to the visible label when `showLabel` is enabled.
Type string
Install the exact registry entry shown on the right when you want the component file and its declared runtime dependencies together.
Dependencies: none.
Contact
Additionally, if you find any bug or issue, feel free to raise an issue.