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
Health dashboard page. Vitals overview, activity rings, medication reminders, upcoming appointments, health score. Competitors: Apple Health, MyFitnessPal, Babylon.
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 HealthDashboardPageProps { vitals?: React.ReactNode; activity?: React.ReactNode; medications?: React.ReactNode; appointments?: React.ReactNode; children?: React.ReactNode; loading?: boolean; className?: string }
export function HealthDashboardPage({ vitals, activity, medications, appointments, children, loading = false, className }: HealthDashboardPageProps) {
const { log, motion, LiveRegion } = useNyuchiHarness("health-dashboard-page")
const animStyle = React.useMemo(() => motion.prefersReduced ? {} : { animation: `nyuchi-fade-slide-up ${motion.enterDuration}ms ${motion.enterEasing} both` }, [motion])
if (loading) return <main data-slot="health-dashboard-page" data-portal="https://design.nyuchi.com/components/health-dashboard-page" data-loading role="main" className="p-4 space-y-4 animate-pulse"><div className="h-8 w-1/3 rounded bg-muted" /><div className="grid grid-cols-2 gap-3">{[1,2,3,4].map(i=><div key={i} className="h-24 rounded-[var(--radius-lg,14px)] bg-muted" />)}</div><div className="h-48 rounded-[var(--radius-lg,14px)] bg-muted" /></main>
return (
<main data-slot="health-dashboard-page" role="main" aria-label="Health Dashboard" style={animStyle} className={cn("flex flex-col gap-4 p-4", className)}>
<h1 className="text-xl font-bold">Health</h1>
{vitals && <section aria-label="Vitals">{vitals}</section>}
{activity && <section aria-label="Activity">{activity}</section>}
{medications && <section aria-label="Medications">{medications}</section>}
{appointments && <section aria-label="Appointments">{appointments}</section>}
{children}
</main>
)
}
export type { HealthDashboardPageProps }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/health-dashboard-pagenpx shadcn@latest add https://mzizi.dev/api/v1/ui/health-dashboard-pagecomponents/ui/health-dashboard-page.tsx