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

Relationship Graph

Source Code

apps/v4/examples/radix/ui/sheet.tsx lines 31–45

function SheetOverlay({
  className,
  ...props
}: React.ComponentProps<typeof SheetPrimitive.Overlay>) {
  return (
    <SheetPrimitive.Overlay
      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/radix/ui/sheet.tsx.
Where is SheetOverlay() defined?
SheetOverlay() is defined in apps/v4/examples/radix/ui/sheet.tsx at line 31.

Analyze Your Own Codebase

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

Try Supermodel Free