---
title: Status dot
description: The small state bead on a row — the tone comes from the caller, because the meaning does.
source: https://github.com/crabtalk/bezel/blob/main/crates/ui/src/widgets/mod.rs
---

> One page of the bezel documentation. The index is https://bezel.gallery/llms.txt

# Status dot

```rust
use ui::widgets;

widgets::status_dot(theme.success)
widgets::status_dot(theme.busy)
widgets::status_dot(theme.danger)
```

"Working", "idle", "failed" are the caller's domain, so the mapping from a state to a tone stays there rather than becoming an enum every app has to translate.

## API

```rust
// ui::widgets

/// A 6px bead. The tones worth reaching for are `success`, `busy`, `warning`,
/// `danger`, and `text_faint` for one that means nothing yet.
pub fn status_dot(tone: gpui::Hsla) -> gpui::Div;

// ...
```
