Home / Function/ DrawerTitle() — ui Function Reference

DrawerTitle() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  20ad4e7e_545f_37e7_a8ce_527571d84bd5["DrawerTitle()"]
  2b724270_13cc_5d5d_74db_61f240d302ac["drawer.tsx"]
  20ad4e7e_545f_37e7_a8ce_527571d84bd5 -->|defined in| 2b724270_13cc_5d5d_74db_61f240d302ac
  style 20ad4e7e_545f_37e7_a8ce_527571d84bd5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/ui-rtl/drawer.tsx lines 93–104

function DrawerTitle({
  className,
  ...props
}: React.ComponentProps<typeof DrawerPrimitive.Title>) {
  return (
    <DrawerPrimitive.Title
      data-slot="drawer-title"
      className={cn("text-foreground text-base font-medium", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does DrawerTitle() do?
DrawerTitle() is a function in the ui codebase, defined in apps/v4/examples/radix/ui-rtl/drawer.tsx.
Where is DrawerTitle() defined?
DrawerTitle() is defined in apps/v4/examples/radix/ui-rtl/drawer.tsx at line 93.

Analyze Your Own Codebase

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

Try Supermodel Free