Skip to content

SpinnerWidgetMode

SpinnerWidgetMode = "rotate" | "bounce" | "blink" | "hex" | "quadrant" | "arc"

Defined in: src/widgets/feedback/spinner.ts:20

A waiting indicator confined to a single cell. The visible glyph is chosen from a frame set driven by the render clock, so it animates on its own without the caller mutating any prop.

  • rotate cycles a braille spinner — the canonical “working” twirl.
  • bounce grows and shrinks a vertical bar, like a dot hopping in place.
  • blink fades a single dot in and out via colour alone (the glyph is fixed, so it never shifts the baseline).
  • hex flips a hexagon between its outline and filled forms.
  • quadrant orbits a small block around the cell’s four corners.
  • arc races an arc segment around a circle outline.