nyuchimzizi
Mzizi — an open-architecture project of the Bundu Foundation, operated and developed by Nyuchi. Built on the Five African Minerals palette.
Built by Nyuchi Africav4.0.39
A loading spinner component.
No interactive demo is registered for this component yet — the source is shown directly.
import { cn } from "@/lib/utils"
import { Loader2Icon } from "@/lib/icons"
function Spinner({ className, ...props }: React.ComponentProps<"svg">) {
return (
<Loader2Icon
role="status"
aria-label="Loading"
data-slot="spinner" data-portal="https://design.nyuchi.com/components/spinner" className={cn("size-4 animate-spin", className)}
{...props}
/>
)
}
export { Spinner }
The variants, sizes, and props surfaced by the registry. Each is sourced from the Supabase component_docs table.
Hit the registry API live and see the JSON the shadcn CLI consumes when it installs this component.
/api/v1/ui/spinnernpx shadcn@latest add https://mzizi.dev/api/v1/ui/spinnercomponents/ui/spinner.tsx