gpui-kit GitHub

Components

PulseLoader builder

A row of pulsing cells, used while a request is in flight.

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

use gpui_kit::display::PulseLoader;

Construct

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

Options

Chain onto the value.

label(label: impl Into<gpui::SharedString>) -> Self
cell_size(cell_size: f32) -> 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/loading.rs