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
  d5a24e1b_ceee_f836_ced1_db746951ffdd["DrawerTrigger()"]
  52be2606_fbc8_fb72_9746_ca6dc349e4d4["drawer.tsx"]
  d5a24e1b_ceee_f836_ced1_db746951ffdd -->|defined in| 52be2606_fbc8_fb72_9746_ca6dc349e4d4
  style d5a24e1b_ceee_f836_ced1_db746951ffdd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/ui-rtl/drawer.tsx lines 13–17

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/examples/base/ui-rtl/drawer.tsx.
Where is DrawerTrigger() defined?
DrawerTrigger() is defined in apps/v4/examples/base/ui-rtl/drawer.tsx at line 13.

Analyze Your Own Codebase

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

Try Supermodel Free