Skip to content
Cynco UI

Layout · Primitives

ToneDot

A 6px dot (or square) in one of Cynco UI's status tones; toneBg exposes the same background classes for bars and legend keys.

import { ToneDot } from "@cynco-labs/ui";

Example

Use

A small colour cue next to text that already says the state (account type, autosave, aging bucket).

Props

tone, square, className and any span props (title for a hover hint).

Notes

Decorative (aria-hidden): the meaning must also be in nearby text.

Source Demo source Markdown