Home / Function/ DrawerDescription() — ui Function Reference

DrawerDescription() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/drawer.tsx lines 101–112

function DrawerDescription({
  className,
  ...props
}: React.ComponentProps<typeof DrawerPrimitive.Description>) {
  return (
    <DrawerPrimitive.Description
      data-slot="drawer-description"
      className={cn("cn-drawer-description", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free