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
  8fbabb8b_153f_1568_d4b7_155b367ee7f7["SheetOverlay()"]
  4ba3fb27_366b_836e_b2d5_57164f04b105["sheet.tsx"]
  8fbabb8b_153f_1568_d4b7_155b367ee7f7 -->|defined in| 4ba3fb27_366b_836e_b2d5_57164f04b105
  style 8fbabb8b_153f_1568_d4b7_155b367ee7f7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/ui/sheet.tsx lines 25–36

function SheetOverlay({ className, ...props }: SheetPrimitive.Backdrop.Props) {
  return (
    <SheetPrimitive.Backdrop
      data-slot="sheet-overlay"
      className={cn(
        "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 fixed inset-0 z-50 bg-black/10 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does SheetOverlay() do?
SheetOverlay() is a function in the ui codebase, defined in apps/v4/examples/base/ui/sheet.tsx.
Where is SheetOverlay() defined?
SheetOverlay() is defined in apps/v4/examples/base/ui/sheet.tsx at line 25.

Analyze Your Own Codebase

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

Try Supermodel Free