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 fbb9aec7_f0ea_7d5f_59ef_674dce980332["sheet.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] fbb9aec7_f0ea_7d5f_59ef_674dce980332 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 9c463da6_747b_38dc_586b_cbb4873070b1["radix-ui"] fbb9aec7_f0ea_7d5f_59ef_674dce980332 --> 9c463da6_747b_38dc_586b_cbb4873070b1 ef4051f4_aeb7_8d0c_a726_0ba96ad80cf6["utils"] fbb9aec7_f0ea_7d5f_59ef_674dce980332 --> ef4051f4_aeb7_8d0c_a726_0ba96ad80cf6 381135fe_5f7a_910a_b8a2_691e9756a016["button"] fbb9aec7_f0ea_7d5f_59ef_674dce980332 --> 381135fe_5f7a_910a_b8a2_691e9756a016 de6fac54_74ca_6c25_8f8b_d1ba3287dbf2["icon-placeholder"] fbb9aec7_f0ea_7d5f_59ef_674dce980332 --> de6fac54_74ca_6c25_8f8b_d1ba3287dbf2 style fbb9aec7_f0ea_7d5f_59ef_674dce980332 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { Dialog as SheetPrimitive } from "radix-ui"
import { cn } from "@/registry/bases/radix/lib/utils"
import { Button } from "@/registry/bases/radix/ui/button"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
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("cn-sheet-overlay fixed inset-0 z-50", 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
data-slot="sheet-content"
data-side={side}
// ... (80 more lines)
Domain
Subdomains
Functions
Dependencies
- button
- icon-placeholder
- 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 ComponentRegistry domain, ChartRegistry 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, icon-placeholder, radix-ui, react, utils.
Where is sheet.tsx in the architecture?
sheet.tsx is located at apps/v4/registry/bases/radix/ui/sheet.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/bases/radix/ui).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free