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

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/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-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does SheetOverlay() do?
SheetOverlay() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/sheet.tsx.
Where is SheetOverlay() defined?
SheetOverlay() is defined in apps/v4/registry/new-york-v4/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