DrawerHeader() — ui Function Reference
Architecture documentation for the DrawerHeader() function in drawer.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 54461793_d192_10a4_33a9_59220aa9fb95["DrawerHeader()"] 52be2606_fbc8_fb72_9746_ca6dc349e4d4["drawer.tsx"] 54461793_d192_10a4_33a9_59220aa9fb95 -->|defined in| 52be2606_fbc8_fb72_9746_ca6dc349e4d4 style 54461793_d192_10a4_33a9_59220aa9fb95 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui-rtl/drawer.tsx lines 70–81
function DrawerHeader({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="drawer-header"
className={cn(
"flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-0.5 md:text-start",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does DrawerHeader() do?
DrawerHeader() is a function in the ui codebase, defined in apps/v4/examples/base/ui-rtl/drawer.tsx.
Where is DrawerHeader() defined?
DrawerHeader() is defined in apps/v4/examples/base/ui-rtl/drawer.tsx at line 70.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free