A minimal loading spinner that renders an animated rotating icon, sizable and colorable via className.
import { Spinner } from "@/components/ui/spinner"; export default function SpinnerDemo() { return ( <div className="flex items-center gap-4"> <Spinner /> <Spinner className="size-6" /> <Spinner className="size-8 text-muted-foreground" /> </div> ); }