Spinner
Something is happening.
Default
On its own, larger, and inside a button that is busy.
For a wait too short to be worth a skeleton, or one whose size is unknown. It takes its colour from the text around it and its size from a class, so it fits inside a button without being told anything.
Installation
npx philcn@latest add spinnerThe file is written into your project. It is yours from then on — change it as you like.
Props
None of its own.
Worth knowing
- A button holding a spinner should be disabled while it spins, or the reader can send the same thing twice.