Inspired by the Radix UI.
Try now: https://shadcn-spinner.vercel.app
The shadcn-spinner
is a lightweight and customizable loading spinner component, designed to be easily integrated into projects based on shadcn.
You can now add the shadcn-spinner
directly via the shadcn CLI! 🎉
Thanks to the latest shadcn update and the contribution from @BramSuurdje, it's now even easier to integrate our component into your project.
Run the following command in the shadcn CLI:
npx shadcn add https://shadcn-spinner.vercel.app/api/r/spinner
Now just use it.
<Spinner size="sm" className="bg-black dark:bg-white" />