Home / Function/ DrawerClose() — ui Function Reference

DrawerClose() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/drawer.tsx lines 26–30

function DrawerClose({
  ...props
}: React.ComponentProps<typeof DrawerPrimitive.Close>) {
  return <DrawerPrimitive.Close data-slot="drawer-close" {...props} />
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free