Inline "working", the size of the text it sits in: one small dot travels a faint track in the text colour. Done, the lap it is on closes the ring into the green tick; failed, the dot drops to a rose dot. Busy holds 400ms so a quick job never flashes, and onSettled tells the words beside it when to change.
npx shadcn@latest add https://notchset.dev/r/spinner.jsonspinner