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
Default splash/loading screen shown on app launch or during major transitions. Branded with mukoko wordmark and mineral accent. Supports progress indication for initial data hydration.
No interactive demo is registered for this component yet — the source is shown directly.
"use client"
import * as React from "react"
import { cn } from "@/lib/utils"
import { useNyuchiHarness } from "@/lib/harness"
interface NyuchiSplashScreenProps {
progress?: number
message?: string
showLogo?: boolean
className?: string
}
export function NyuchiSplashScreen({ progress, message, showLogo = true, className }: NyuchiSplashScreenProps) {
const { log } = useNyuchiHarness("splash-screen")
return (
<div data-slot="nyuchi-splash-screen" data-portal="https://design.nyuchi.com/components/nyuchi-splash-screen" role="status" aria-label={message || "Loading Mukoko"}
className={cn("flex min-h-screen flex-col items-center justify-center gap-6 bg-background", className)}>
{showLogo && (
<div className="animate-pulse">
<p className="text-3xl font-bold tracking-tight text-foreground">mukoko</p>
</div>
)}
<div className="flex flex-col items-center gap-3">
{progress != null && (
<div className="h-1 w-48 overflow-hidden rounded-full bg-muted">
<div className="h-full rounded-full bg-primary transition-all duration-300" style={{ width: `${progress}%` }} />
</div>
)}
{message && <p className="text-xs text-muted-foreground">{message}</p>}
</div>
</div>
)
}
export type { NyuchiSplashScreenProps }
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/nyuchi-splash-screennpx shadcn@latest add https://mzizi.dev/api/v1/ui/nyuchi-splash-screencomponents/ui/nyuchi-splash-screen.tsx