---
title: "Dot"
description: "A small color dot next to a status word or a chart series. It can pulse to show that something runs now."
url: https://gelatinui.com/components/dot
markdown_url: https://gelatinui.com/components/dot.md
access: free
install: "npx shadcn@latest add @gelatin-ui/dot"
registry_item: https://gelatinui.com/r/dot.json
version: "2026-11-08"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Dot

> A small color dot next to a status word or a chart series. It can pulse to show that something runs now.

Page: https://gelatinui.com/components/dot

## When to use it

Best for: A small color mark next to a status word or in a chart legend.

- Put a word next to the dot. The word says the status, so color is never the only sign.
- Give a dot with no word a `label`. It is then an image with that name for screen readers.
- Use `success`, `warning`, `info`, and `destructive` for a status only. Use `default` or `muted` for other marks.
- Use `pulse` for something that runs now, such as a live stream or a recording.

## When not to use it

- For a mark larger than 8px, use an icon.
- For a status word in a box, use a [Badge](https://gelatinui.com/components/badge.md).

## Notes for agents

- Set the color with `tone`. The dot has `aria-hidden` by default, so put the status word next to it.
- A dot with no word next to it needs a `label`; it then gets `role="img"`.

## Anatomy

```text
Dot
```

## API reference

### Dot

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `pulse` | `boolean` |  |  |
| `size` | `"default" \| "sm"` |  |  |
| `tone` | `"destructive" \| "info" \| "neutral" \| "success" \| "warning"` |  |  |
| `variant` | `"default" \| "muted" \| "ring"` |  |  |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| Dot | `dot` |  |  | `motion-timing` |

## Usage

Put a word next to the dot: the dot is hidden from screen readers. A dot with no word next to it needs a `label`.

```tsx title="deploy-status.tsx"
import { Dot } from "@/components/ui/dot";

export function DeployStatus({ live }: { live: boolean }) {
  return (
    <span className="inline-flex items-center gap-1.5 text-sm">
      <Dot tone={live ? "success" : "neutral"} variant="muted" pulse={live} />
      {live ? "Live" : "Stopped"}
    </span>
  );
}
```

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui/dot
```

It adds 4 registry items: 2 files, 1015 lines, and the npm packages `tailwind-merge`, `tailwind-variants`.

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Badge](https://gelatinui.com/components/badge.md)
- [Spinner](https://gelatinui.com/components/spinner.md)

## Accessibility

Dot is a `<span>` with no focus stop. By default it has `aria-hidden`, because the word next to it says the status.

With a `label`, the dot gets `role="img"` and that `aria-label`. Use it for a dot with no word next to it.

Keep a word next to a status dot, so color is never the only sign of the status.

## Motion

| Part | Motion |
| --- | --- |
| Pulse | dot-pulse · 1.5s · CSS ease-out · repeats · a ring grows from 1× to 2.2× and fades from 60% to 0 |
| Tone change | fade · 150ms · ease-out (0, 0, 0.2, 1) |
