Status dot
A status as a dot: a circle in one of the Badge's colors. Around it nothing, a halo in the badge's tint, or a gap cut from what it sits on; it can pulse for something live. Alone it stands in a box of its own; in a button or a badge, in the icon's.
<StatusDot color="success" /><StatusDot color="warning" halo="tint" /><StatusDot color="error" halo="tint" pulse />Installation
import { StatusDot } from "@dome-systems/ds-dashboard/components";Usage
import { StatusDot } from "@dome-systems/ds-dashboard/components";<StatusDot color="success" halo="tint" aria-label="Status: Active" />Colors
The Badge's seven, by the same names: the center is the badge's dot color and the halo its tint, so a dot beside a badge of the same color is the same color. And yellow, the one color that is the dot's alone: a state that is neither the warning's orange nor an error.
<StatusDot color="neutral" halo="tint" /><StatusDot color="primary" halo="tint" /><StatusDot color="success" halo="tint" /><StatusDot color="warning" halo="tint" /><StatusDot color="error" halo="tint" /><StatusDot color="info" halo="tint" /><StatusDot color="fuchsia" halo="tint" /><StatusDot color="yellow" halo="tint" />Sizes
size is the center's diameter: sm small (4px), md medium (6px, the default: the dot the Table and the Badge draw), lg large (8px), xl extra large (10px). The box around it does not change.
<StatusDot color="success" size="sm" /><StatusDot color="success" size="md" /><StatusDot color="success" size="lg" /><StatusDot color="success" size="xl" />Halo
halo says what is around the center: none (the default), tint, a circle in the color's tint, or cutout, below. haloSize is how far it reaches past the center, all round: sm 2px, md 3px, lg 4px, xl 6px. A tint is 4px unless it says otherwise: with the 6px center it is the 14px dot a Table's folded status draws.
<StatusDot color="info" /><StatusDot color="info" halo="tint" haloSize="sm" /><StatusDot color="info" halo="tint" haloSize="md" /><StatusDot color="info" halo="tint" haloSize="lg" /><StatusDot color="info" halo="tint" haloSize="xl" />On a corner, cut out
Given children, the dot sits on their top right corner, hanging 1px past it, and takes no box of its own. halo="cutout" then cuts a gap around the dot out of the children (2px unless haloSize says otherwise), so whatever is behind them shows in the gap: at rest, under the pointer, in dark. It is a mask, not a ring painted in one fill. A dot with no children has nothing to cut. Where the dot cannot hold what it sits on, the host takes the same cut from statusDotCutout(size, haloSize). placement picks another corner, and round says the children are a circle: the dot's center then sits on the circle's edge.
<StatusDot color="success" size="lg"> <Tile /></StatusDot><StatusDot color="success" size="lg" halo="cutout"> <Tile /></StatusDot><StatusDot color="success" halo="cutout" placement="bottom-right" round> <Avatar name="Julia Costa" colored={false} /></StatusDot>Pulse
pulse is for something live: a halo in the color's tint fades to a quarter of its strength and comes back, once every two seconds, at its full size the whole time. The center never moves or changes. It is drawn whatever halo says, and stands still for anyone who asked for reduced motion.
<StatusDot color="success" pulse /><StatusDot color="error" size="lg" pulse />Beside its word, or alone
Beside the word that says the state the dot is decoration, and a screen reader skips it. Alone, give it an aria-label: it becomes an image with that name. The component adds no tooltip of its own; a dot alone in a table cell gets one from the Table.
<span className="inline-flex items-center gap-1"> <StatusDot color="success" /> Active</span><StatusDot color="success" halo="tint" aria-label="Status: Active" />A box of its own
Whatever it draws, a dot alone stands in a 14px box, an icon's size, so rows that hold different dots stay lined up. Each line here starts its word at the same x.
<StatusDot color="success" /><StatusDot color="success" size="xl" /><StatusDot color="success" halo="tint" />In a button or a badge
A Button, a Button group's item and a Badge each take the dot as their own dot prop, in the start icon's place. There the dot stands in that icon's box: 14px in a 32 or 28px button, 12px in a 24px button and a large badge, 10px in a medium or small badge. The host passes it as box, and the box gives the dot's defaults: a medium center (large in a 16px box) and the largest halo that fits. A size or a haloSize in the dot wins, and the box never grows: what does not fit reaches past it evenly. In a badge the dot takes the badge's color unless it names one. A menu's row, a tab and a select's item take dot the same way; a table's status and a filter's value take it for its settings.
<Button dot={{ color: "success" }}>Active</Button><Button dot={{ color: "success", halo: "tint", pulse: true }}>Live</Button><Badge color="success" dot>Active</Badge><Badge dot={{ color: "success", halo: "tint" }}>Active</Badge><StatusDot color="success" halo="tint" box={14} />In the dashboard
A Badge, a Button, a Button group's item, a menu's row, a tab and a select's item each draw this component for their dot. So do the Table's status, a filter's value and the sidebar's notification dot, and on the screens a page header's tile, the audit stream and overview, the home panels, the assistant's lists and the model rates' override. One card per kind in the design system below, each naming the file that draws it. A chart's key is not a status and stays the chart's own.
The Badge's dot
The badge's `dot`, drawn by this component in the icon's box: 6px at every size.
ds/components/badge.tsx
A status in a table cell
A 6px dot in the status's color before its name.
ds/components/table/cell.tsx (TableStatus)
A status folded to a dot
A 6px dot in a 4px halo of its tint, 14px across, when the status column gives way.
ds/components/table/cell.tsx (TableStatusDot)
API Reference
StatusDot
Besides these, every prop of a <span> (className, title…).
| Prop | Type | Default | Description |
|---|---|---|---|
color | "neutral" | "primary" | "success" | "warning" | "error" | "info" | "fuchsia" | "yellow" | "neutral" | What the dot means: one of the Badge's colors, or yellow, which no badge has. |
size | "sm" | "md" | "lg" | "xl" | "md" | The center's diameter: small 4px, medium 6px, large 8px, extra large 10px. Left out, medium, or what box gives (large in a 16px box). |
halo | "none" | "tint" | "cutout" | "none" | What is around the center: nothing, a circle in the color's tint, or a gap cut from the children the dot sits on. |
haloSize | "sm" | "md" | "lg" | "xl" | — | How far the halo reaches past the center, all round: small 2px, medium 3px, large 4px, extra large 6px. Left out, a tint is large and a cut-out small, and with box the halo reaches the box's edge. |
pulse | boolean | false | For something live: a halo in the tint fades and comes back around the center, which never changes. Still under reduced motion. |
haloClassName | string | — | Another fill for the halo, where what holds the dot is too close to the color's tint for the halo to show (a filter's chip in dark). |
aria-label | string | — | The dot's name when no word stands beside it. It is then an image; without one it is hidden from a screen reader. |
box | number | — | For a component that puts the dot in its icon slot: the slot's size in px. It gives the dot's default size and halo. |
children | ReactNode | — | What the dot sits on: it goes on one of their corners, and a cut-out is cut from them. |
placement | "top-right" | "bottom-right" | "bottom-left" | "top-left" | "top-right" | Which corner of its children the dot takes. |
round | boolean | false | Its children are a circle: the dot's center sits on the circle's edge, at 45 degrees toward its corner. |
Rules
Open questions
Is a dot alone in a 14px box?
OpenBuilt at 14px, an icon's size, and not confirmed: it was 16px. In 14px the word after a dot starts where it would after an icon, and a 6px center with its 4px halo fills the box exactly, which is the Table's folded status.
Not compared with other systems yet.
Which states pulse?
OpenNot written down. One dot moves in the product today, a header tile's on the live audit stream, and it fades as a whole; it does not use this component yet.
Not compared with other systems yet.
Decided
Four sizes, and a host's dot can be set like any other
The center is small (4px), medium (6px), large (8px) or extra large (10px): sm, md, lg, xl. In a Button or a Badge the icon's box gives the defaults: medium, and large only in a 16px box, with the largest halo that fits in the box (large, 4px, round a medium dot in a 14px box). Every setting can be given instead (size, haloSize, halo, pulse, color). The sizes are even on purpose: a 5px or a 7px dot is 1px off center on a 1x screen. A medium or small badge's dot was 5px and is now 6px.
An override never moves the label: the box stays the icon's. The largest, a 10px dot in a 6px halo, is 22px across. It stops 2px short of the label in a 28px button and reaches 2px under it in a 20px one; in the 16px badge it is 3px taller than the badge above and below and reaches 3px under the label.
From Decided by the designer, 16 Nov 2026: “Let's create 4 sizes even, 4, 6, 8, 10… call them small, medium, large, extra large… Then we have defaults that we decided together. That's great, but I can override it.”.
The halo has four sizes, up to 6px
Small (2px), medium (3px), large (4px), extra large (6px): sm, md, lg, xl. Extra large is only ever asked for: no icon box gives it to a dot of its default size.
From Decided by the designer, 16 Nov 2026: “maybe give a halo size, go to extra large, 6 pixels.”.
The dot is a prop wherever a component carries one
A Button, a Button group's item, a Badge, a menu's row, a tab and a select's item take dot in their icon's place. A table's status, a filter's value and the sidebar's row already draw a dot, and take dot for its settings over what they draw.
From Decided by the designer, 16 Nov 2026: “you need to add them to the components as a property… there's a default that we put, but then I need to override… button group, badge, menu… instead of the icon, yeah, tabs, select, table status, filter chip.”.
Yellow is a dot color of its own
Degraded stays yellow and stays different from Suspended's orange. To an eye that sees little red and green the two differ almost only in lightness, so the yellow is light: about 18 from the warning mark in the deutan simulation, and 1.7:1 on a white card. No badge is yellow: it is the dot's alone.
From Decided by the designer, 16 Nov 2026: “If degraded is yellow and there's a difference between yellow and orange, then we need a yellow. And then on the status dot, we'll just call it yellow.” On its value: “the proposed one, vivid lightness 82.”.
A status's dot is never drawn by hand
Every status, notification or live dot is this component, or the dot of the component that carries it. A chart's key and a radio's mark are not statuses. ds/__tests__/hand-drawn-dots.test.ts fails on a small circle drawn by hand in a screen.
From Decided by the designer, 16 Nov 2026: “we're gonna replace them everywhere, right? And never want a status that is like drawn.”.
Only the halo pulses
The pulse changes the halo's strength and nothing else. The center is the same pixels at every moment, and nothing changes size.
From Decided by the designer, 16 Nov 2026: “the middle should not move. It's only the outside that is pulsing.”.
The sidebar's notification dot is a small dot in a cut-out
On the collapsed sidebar a row with a count shows a 6px dot on its tile's corner, in the count badge's own red, and the tile is cut away 2px round it, so the row's fill shows in the gap. The designer chose the large gap on a 32px tile; on the sidebar's 20px tile a 4px gap cuts into the glyph's corner, so it is 2px there.
From Decided by the designer, 16 Nov 2026: “I like the cutout large with a small badge color for the notifications on the sidebar.”.
On what it sits on: the top right corner, or another
placement picks the corner. On a circle (round) the dot's center sits on the circle's edge, at 45 degrees toward that corner, taken to the nearest whole pixel so the dot stays sharp. The cut-out follows the dot.
From Decided by the designer, 16 Nov 2026, for the Avatar: top right by default, “since we already did that for the icons”, with the other corners as an option..
Color is never the only signal
A dot carries no meaning by itself. Put it beside the word that says the state, or give it an aria-label and, where there is a pointer, a tooltip that says the same.
From The Badge's rule, which holds for a dot too.
A host takes the dot as its own prop, not as an icon
A Badge, a Button and a Button group's item each have a dot. The host sizes and places the dot itself, in its icon's box. The SDS Dot passed as a Badge's iconStart, the older way, still draws the same dot.
From Decided by the designer, 14 Nov 2026: “status dot on off… It's not the icon.” It replaces the Badge's older rule (the dot as a start icon, with no dot prop).
A halo is allowed wherever the dot is, a badge included
Off unless asked for. In a host it stays inside the icon's box. A halo is the color's tint, which is also a badge's fill: in a badge of the dot's own color the halo cannot be seen, and it shows when the dot names another color than its badge, or on a solid badge.
From Decided by the designer, 14 Nov 2026: “Let the halo come up on the badge too.” It replaces “no halo inside a badge”. 16 Nov, on a badge of the dot's own color: “of course the tint is not gonna show, but if I put a color neutral, then it's gonna show.”.
A status folded to a dot is 6px in a 4px halo
When a table's status column gives way, the badge folds to a dot of the same color: a 6px center in its tint, 14px across, named for a screen reader and with a tooltip. Here that is the default size with halo="tint".
From Decided for the Table.