Components
Loading preview...
A loading spinner component with customizable size and color.
npx shadcn@latest add https://21st.dev/r/tom_ui/spinnerimport { Spinner } from "@/components/ui/spinner"
export default function Demo() {
return (
<div className="flex items-center justify-center min-h-[400px] p-8">
<Spinner className="w-10 h-10" />
</div>
)
}