Home / Function/ SheetOverlay() — ui Function Reference

SheetOverlay() — ui Function Reference

Architecture documentation for the SheetOverlay() function in sheet.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  e4260fd3_aae3_cb3d_9c39_16693dc3317f["SheetOverlay()"]
  fbb9aec7_f0ea_7d5f_59ef_674dce980332["sheet.tsx"]
  e4260fd3_aae3_cb3d_9c39_16693dc3317f -->|defined in| fbb9aec7_f0ea_7d5f_59ef_674dce980332
  style e4260fd3_aae3_cb3d_9c39_16693dc3317f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/sheet.tsx lines 32–43

function SheetOverlay({
  className,
  ...props
}: React.ComponentProps<typeof SheetPrimitive.Overlay>) {
  return (
    <SheetPrimitive.Overlay
      data-slot="sheet-overlay"
      className={cn("cn-sheet-overlay fixed inset-0 z-50", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free