Home / Function/ DrawerPortal() — ui Function Reference

DrawerPortal() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2b1e30f9_a0db_15ec_e403_aeae7e7bcb23["DrawerPortal()"]
  0b3a4d66_8f91_4b0d_4660_ad4a893ab531["drawer.tsx"]
  2b1e30f9_a0db_15ec_e403_aeae7e7bcb23 -->|defined in| 0b3a4d66_8f91_4b0d_4660_ad4a893ab531
  style 2b1e30f9_a0db_15ec_e403_aeae7e7bcb23 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/ui/drawer.tsx lines 20–24

function DrawerPortal({
  ...props
}: React.ComponentProps<typeof DrawerPrimitive.Portal>) {
  return <DrawerPrimitive.Portal data-slot="drawer-portal" {...props} />
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free