# DotStatusColor Dots are component adornments, typically used to communicate a numerical value or indicate the status or identity of a component to the end-user. ## Import ```tsx import { DotStatusColor } from '@coinbase/cds-web/dots/DotStatusColor' ``` ## Examples ### Sizes ```jsx live function Sizes() { const SIZES = ['xs', 's', 'm', 'l']; return ( {SIZES.map((size) => ( ))} ); } ``` ### Variants ```jsx live function Variants() { const VARIANTS = ['positive', 'negative', 'primary', 'fgMuted', 'warning']; return ( {VARIANTS.map((variant) => ( ))} ); } ``` ## Props | Prop | Type | Required | Default | Description | | --- | --- | --- | --- | --- | | `variant` | `warning \| primary \| positive \| negative \| foregroundMuted` | Yes | `-` | Background color of dot | | `children` | `null \| string \| number \| false \| true \| ReactElement> \| Iterable \| ReactPortal` | No | `-` | Children of where the dot will anchor to | | `overlap` | `circular` | No | `-` | Indicates what shape Dot is overlapping | | `pin` | `top-start \| top-end \| bottom-start \| bottom-end` | No | `-` | Position of dot relative to its parent | | `size` | `s \| l \| xs \| m` | No | `-` | Size of dot | | `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |