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
Sidebar with user profile section.
No interactive demo is registered for this component yet — the source is shown directly.
"use client"
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"
import { Button } from "@/components/ui/button"
import { Separator } from "@/components/ui/separator"
import { Home, BarChart3, Users, FileText, Settings, LogOut, Zap } from "@/lib/icons"
const navItems = [
{ icon: Home, label: "Home" },
{ icon: BarChart3, label: "Analytics" },
{ icon: Users, label: "Team" },
{ icon: FileText, label: "Documents" },
{ icon: Settings, label: "Settings" },
]
function Sidebar04() {
return (
<aside data-slot="sidebar-block" data-portal="https://design.nyuchi.com/components/sidebar-block" aria-label="Sidebar navigation" className="flex h-screen w-60 flex-col border-r border-border bg-card">
<div className="flex h-14 items-center gap-2 px-4">
<Zap className="size-5 text-cobalt" />
<span className="font-serif text-lg font-semibold text-foreground">mukoko</span>
</div>
<Separator />
{/* User profile */}
<div className="flex items-center gap-3 p-4">
<Avatar>
<AvatarImage src="/avatars/01.png" alt="Tanya Moyo" />
<AvatarFallback>TM</AvatarFallback>
</Avatar>
<div className="flex-1 overflow-hidden">
<p className="truncate text-sm font-medium text-foreground">Tanya Moyo</p>
<p className="truncate text-xs text-muted-foreground">tanya@nyuchi.com</p>
</div>
</div>
<Separator />
<nav className="flex-1 space-y-1 p-3">
{navItems.map((item) => (
<Button key={item.label} variant="ghost" className="w-full justify-start gap-3" size="sm">
<item.icon className="size-4" />
{item.label}
</Button>
))}
</nav>
<Separator />
<div className="p-3">
<Button
variant="ghost"
className="w-full justify-start gap-3 text-muted-foreground"
size="sm"
>
<LogOut className="size-4" />
Sign out
</Button>
</div>
</aside>
)
}
export { Sidebar04 }
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/sidebar-04npx shadcn@latest add https://mzizi.dev/api/v1/ui/sidebar-04components/blocks/sidebar-04.tsx