Thinking Indicator

Morphing SVG for async status. Thinking pulses a spring-driven ring around a filled dot; done pops a spring check; error pops a spring cross. Reduced-motion zeros every duration out.

Custom

States

Sizes

API reference

PropTypeDescription
'thinking' | 'done' | 'error'Drives the morph. Thinking pulses a ring; done springs a check; error springs a cross.
'sm' | 'default' | 'lg'Matches the icon scale of adjacent text at 14px, 16px, and 20px.
stringMerged onto the root SVG via tailwind-merge.
SVGSVGElement | nullTwo-way-bindable element reference.