Home / Function/ DrawerTrigger() — ui Function Reference

DrawerTrigger() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  02c08b78_4a08_ff99_a555_67f3edb1339b["DrawerTrigger()"]
  65dddf82_0992_932d_abd9_4edb4ea4a696["drawer.tsx"]
  02c08b78_4a08_ff99_a555_67f3edb1339b -->|defined in| 65dddf82_0992_932d_abd9_4edb4ea4a696
  style 02c08b78_4a08_ff99_a555_67f3edb1339b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/drawer.tsx lines 14–18

function DrawerTrigger({
  ...props
}: React.ComponentProps<typeof DrawerPrimitive.Trigger>) {
  return <DrawerPrimitive.Trigger data-slot="drawer-trigger" {...props} />
}

Subdomains

Frequently Asked Questions

What does DrawerTrigger() do?
DrawerTrigger() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/drawer.tsx.
Where is DrawerTrigger() defined?
DrawerTrigger() is defined in apps/v4/registry/new-york-v4/ui/drawer.tsx at line 14.

Analyze Your Own Codebase

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

Try Supermodel Free