DrawerHeader() — ui Function Reference
Architecture documentation for the DrawerHeader() function in drawer.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 996299df_24fd_0029_f457_0f5bc337b7d0["DrawerHeader()"] f7409805_8881_02ad_9314_aa2d58b39ab5["drawer.tsx"] 996299df_24fd_0029_f457_0f5bc337b7d0 -->|defined in| f7409805_8881_02ad_9314_aa2d58b39ab5 style 996299df_24fd_0029_f457_0f5bc337b7d0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui/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-left",
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/drawer.tsx.
Where is DrawerHeader() defined?
DrawerHeader() is defined in apps/v4/examples/base/ui/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