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
Accessible resizable panel groups and layouts with keyboard support.
No interactive demo is registered for this component yet — the source is shown directly.
"use client"
import {
Group,
Panel,
Separator,
type GroupProps,
type PanelProps,
type SeparatorProps,
} from "react-resizable-panels"
type ResizeSeparatorProps = SeparatorProps
import { cn } from "@/lib/utils"
function ResizablePanelGroup({ className, ...props }: GroupProps) {
return (
<Group
data-slot="resizable-panel-group" data-portal="https://design.nyuchi.com/components/resizable-panel-group"
className={cn("flex h-full w-full aria-[orientation=vertical]:flex-col", className)}
{...props}
/>
)
}
function ResizablePanel({ ...props }: PanelProps) {
return <Panel data-slot="resizable-panel" {...props} />
}
function ResizableHandle({
withHandle,
className,
...props
}: ResizeSeparatorProps & {
withHandle?: boolean
}) {
return (
<Separator
data-slot="resizable-handle"
className={cn(
"relative flex w-px items-center justify-center bg-border ring-offset-background after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 transition-shadow focus-visible:ring-1 transition-shadow focus-visible:ring-ring focus-visible:outline-hidden aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2 [&[aria-orientation=horizontal]>div]:rotate-90",
className
)}
{...props}
>
{withHandle && <div className="z-10 flex h-6 w-1 shrink-0 rounded-[var(--radius-lg,14px)] bg-border" />}
</Separator>
)
}
export { ResizableHandle, ResizablePanel, ResizablePanelGroup }
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/resizablenpx shadcn@latest add https://mzizi.dev/api/v1/ui/resizablecomponents/ui/resizable.tsx