Skip to main content

mini_gradient_spinner

Function mini_gradient_spinner 

Source
pub fn mini_gradient_spinner(
    key: impl Into<SharedString>,
    cell_px: f32,
    painter: Painter,
    cx: &mut App,
) -> impl IntoElement
Expand description

A 2×3 miniature of gradient_spinner sized for a status-dot slot: same row tints and pulse timing, but the brightness SNAKES around the grid’s perimeter (every cell of a 2×3 grid is on the ring) instead of sweeping as a vertical wave — a tiny radial chase. ~6×10px footprint at the default 2.5px cells.