Components
BaseDot
A small coloured dot for statuses, legends and presence.
components/ui/BaseDot.vue
View in the demo
Example
Online
API
Props
Name | Type | Default | Description |
|---|---|---|---|
color | string | "primary" | A theme colour. |
size | number | 8 | Diameter in pixels. |
label | string | — | A text for screen readers. Without it the dot is hidden from them. |
Accessibility
A dot alone carries meaning only through its colour. Give it a label when it is the only indicator, or place the same information in text next to it as in the example.