sheet.tsx — ui Source File
Architecture documentation for sheet.tsx, a tsx file in the ui codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR fb663bc3_1eb8_e5f6_e97f_7ed09a0b258f["sheet.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] fb663bc3_1eb8_e5f6_e97f_7ed09a0b258f --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 191e4a89_25e4_f7a3_d5fb_d71d101e0990["utils"] fb663bc3_1eb8_e5f6_e97f_7ed09a0b258f --> 191e4a89_25e4_f7a3_d5fb_d71d101e0990 4b1d2128_46d9_46f0_b915_b6e1925b7876["button"] fb663bc3_1eb8_e5f6_e97f_7ed09a0b258f --> 4b1d2128_46d9_46f0_b915_b6e1925b7876 d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] fb663bc3_1eb8_e5f6_e97f_7ed09a0b258f --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 9c463da6_747b_38dc_586b_cbb4873070b1["radix-ui"] fb663bc3_1eb8_e5f6_e97f_7ed09a0b258f --> 9c463da6_747b_38dc_586b_cbb4873070b1 style fb663bc3_1eb8_e5f6_e97f_7ed09a0b258f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { cn } from "@/examples/radix/lib/utils"
import { Button } from "@/examples/radix/ui/button"
import { XIcon } from "lucide-react"
import { Dialog as SheetPrimitive } from "radix-ui"
function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>) {
return <SheetPrimitive.Root data-slot="sheet" {...props} />
}
function SheetTrigger({
...props
}: React.ComponentProps<typeof SheetPrimitive.Trigger>) {
return <SheetPrimitive.Trigger data-slot="sheet-trigger" {...props} />
}
function SheetClose({
...props
}: React.ComponentProps<typeof SheetPrimitive.Close>) {
return <SheetPrimitive.Close data-slot="sheet-close" {...props} />
}
function SheetPortal({
...props
}: React.ComponentProps<typeof SheetPrimitive.Portal>) {
return <SheetPrimitive.Portal data-slot="sheet-portal" {...props} />
}
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}
/>
)
}
function SheetContent({
className,
children,
side = "right",
showCloseButton = true,
...props
}: React.ComponentProps<typeof SheetPrimitive.Content> & {
side?: "top" | "right" | "bottom" | "left"
showCloseButton?: boolean
}) {
return (
<SheetPortal>
<SheetOverlay />
<SheetPrimitive.Content
// ... (83 more lines)
Domain
Subdomains
Functions
Dependencies
- button
- lucide-react
- radix-ui
- react
- utils
Source
Frequently Asked Questions
What does sheet.tsx do?
sheet.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in sheet.tsx?
sheet.tsx defines 10 function(s): Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger.
What does sheet.tsx depend on?
sheet.tsx imports 5 module(s): button, lucide-react, radix-ui, react, utils.
Where is sheet.tsx in the architecture?
sheet.tsx is located at apps/v4/examples/radix/ui/sheet.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/radix/ui).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free