# Status dot

- **[Atoms](/components/)**

A status as a small dot and a word, for rows, cards and lists where a Badge would be too loud.

## Preview

status-dot.tsx

```
import { Theme } from '@/components/klarhimmel/theme/style';
import { StatusDot } from '@/components/klarhimmel/ui/status-dot';

export default function Example() {
  return (
    <Theme theme="brand">
      <StatusDot tone="attention">Needs your OK</StatusDot>
    </Theme>
  );
}
```

## Import

- **CLI**

  ```
  npx shadcn add https://ui.klarhimmel.com/r/status-dot.json
  ```
- **Import**

  ```
  import { StatusDot } from '@/components/klarhimmel/ui/status-dot';
  ```

- **Files**: status-dot.tsx, in components/klarhimmel/ui/. With it: theme, utils.
- **Render in**: Render it inside <Theme>, once near the root of your app. Tokens and fonts are scoped to it, so outside it the component is unstyled.

## Props

- **tone**: open is a ring (not started), attention adds a halo (waits on the reader).
- **children**: Required. The status in words.
- **hideLabel**: Keeps the word for screen readers only.
- **className**: Extra classes, merged after the component's own.

[Previous](/components/board)

[Next](/components/icon-circle)
