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.
View the full component source code below.
"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 }
npx shadcn@latest add https://mzizi.dev/api/v1/ui/nyuchi-splash-screenFetch this component's metadata and source code from the registry API.
/api/v1/ui/nyuchi-splash-screen