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

Relationship Graph

Source Code

deprecated/www/registry/new-york/ui/sheet.tsx lines 21–30

>(({ className, ...props }, ref) => (
  <SheetPrimitive.Overlay
    className={cn(
      "fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
      className
    )}
    {...props}
    ref={ref}
  />
))

Subdomains

Frequently Asked Questions

What does SheetOverlay() do?
SheetOverlay() is a function in the ui codebase, defined in deprecated/www/registry/new-york/ui/sheet.tsx.
Where is SheetOverlay() defined?
SheetOverlay() is defined in deprecated/www/registry/new-york/ui/sheet.tsx at line 21.

Analyze Your Own Codebase

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

Try Supermodel Free