Skip to content
Components74 / 118

AI Status Pill

A liquid-glass capsule that shows what the AI is doing, with a living fill for each state: an aurora while thinking, smoky light behind fluted glass while searching, two colours swirling while planning, ink streaks while writing. A new state flows in through a liquid front; the pill springs to its width and the dots bounce.

AIStatusLiquid glassWebGLSquash & stretchGSAP
Hover across the glassClick for the next state

Tweak

LIVE

State

State

Cycle through states

Look

68px

Props

5 props
  • state"thinking" | "searching" | "planning" | "writing"
    What the AI is doing.default "thinking"
  • labelstring
    Override the label (dots are added).
  • sizenumber
    Height, px.default 60
  • onClick() => void
    Click handler.
  • classNamestring
    Extra classes.