gpui-kit GitHub

Components

StatusDot builder

A tone-colored dot, the smallest state indicator in the system.

A builder is RenderOnce. Construct and mount it in one expression.

use gpui_kit::display::StatusDot;

Construct

new(tone: Tone) -> Self

Options

Chain onto the value.

busy(ident: impl Into<Ident>) -> Self

Rendered by

Each of these compiles and is captured by the gate, so the code behind them is verified rather than written.

Source: crates/gpui-kit/src/display/status.rs