Home / Function/ DrawerHeader() — ui Function Reference

DrawerHeader() — ui Function Reference

Architecture documentation for the DrawerHeader() function in drawer.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  dadc60c2_39ba_83b9_984d_8f4128fb7fbd["DrawerHeader()"]
  8b9e9a98_d277_e3c5_72b5_2befe045f342["drawer.tsx"]
  dadc60c2_39ba_83b9_984d_8f4128fb7fbd -->|defined in| 8b9e9a98_d277_e3c5_72b5_2befe045f342
  style dadc60c2_39ba_83b9_984d_8f4128fb7fbd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/drawer.tsx lines 68–76

function DrawerHeader({ className, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="drawer-header"
      className={cn("cn-drawer-header flex flex-col", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does DrawerHeader() do?
DrawerHeader() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/ui/drawer.tsx.
Where is DrawerHeader() defined?
DrawerHeader() is defined in apps/v4/registry/bases/radix/ui/drawer.tsx at line 68.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free