Status
A status word in its tone's color, with an optional icon. Status is never color alone.
ActiveExpiringDownSyncingArchivedLive
<div className="flex flex-col gap-8">
<Status tone="success">Active</Status>
<Status tone="warning">Expiring</Status>
<Status tone="danger">Down</Status>
<Status tone="info">Syncing</Status>
<Status tone="neutral">Archived</Status>
<Status tone="success">Live</Status>
</div>import { Status } from "@logicplanes/kaeso-ui";Props
childrenReactNodeThe word that carries the meaning.
iconIconSvgElementA mark before the word in the same color, e.g.
icons.successfor “Up to date”.size"md" | "sm" = mdThe text size: 14px, or 13px (
sm) with a 14px icon.tone"neutral" | "success" | "warning" | "danger" | "info" = neutralThe status the word marks; keep it next to words that say the same.