Home / File/ sheet-no-close-button.tsx — ui Source File

sheet-no-close-button.tsx — ui Source File

Architecture documentation for sheet-no-close-button.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx DocumentationAtlas ContentSourcing 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  73f89c33_fe02_5df0_ba12_cb10bdf939c8["sheet-no-close-button.tsx"]
  4b1d2128_46d9_46f0_b915_b6e1925b7876["button"]
  73f89c33_fe02_5df0_ba12_cb10bdf939c8 --> 4b1d2128_46d9_46f0_b915_b6e1925b7876
  8484953e_a2b0_c9dc_4839_3020572ff080["sheet"]
  73f89c33_fe02_5df0_ba12_cb10bdf939c8 --> 8484953e_a2b0_c9dc_4839_3020572ff080
  style 73f89c33_fe02_5df0_ba12_cb10bdf939c8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/examples/radix/ui/button"
import {
  Sheet,
  SheetContent,
  SheetDescription,
  SheetHeader,
  SheetTitle,
  SheetTrigger,
} from "@/examples/radix/ui/sheet"

export default function SheetNoCloseButton() {
  return (
    <Sheet>
      <SheetTrigger asChild>
        <Button variant="outline">Open Sheet</Button>
      </SheetTrigger>
      <SheetContent showCloseButton={false}>
        <SheetHeader>
          <SheetTitle>No Close Button</SheetTitle>
          <SheetDescription>
            This sheet doesn&apos;t have a close button in the top-right corner.
            Click outside to close.
          </SheetDescription>
        </SheetHeader>
      </SheetContent>
    </Sheet>
  )
}

Subdomains

Dependencies

  • button
  • sheet

Frequently Asked Questions

What does sheet-no-close-button.tsx do?
sheet-no-close-button.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-no-close-button.tsx?
sheet-no-close-button.tsx defines 1 function(s): SheetNoCloseButton.
What does sheet-no-close-button.tsx depend on?
sheet-no-close-button.tsx imports 2 module(s): button, sheet.
Where is sheet-no-close-button.tsx in the architecture?
sheet-no-close-button.tsx is located at apps/v4/examples/radix/sheet-no-close-button.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free