SheetDemo() — ui Function Reference
Architecture documentation for the SheetDemo() function in sheet-demo.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 8b1f11a1_fe0c_870b_3975_835de99c490e["SheetDemo()"] 4bd0d64e_bee3_8034_97a7_27b2171532ea["sheet-demo.tsx"] 8b1f11a1_fe0c_870b_3975_835de99c490e -->|defined in| 4bd0d64e_bee3_8034_97a7_27b2171532ea style 8b1f11a1_fe0c_870b_3975_835de99c490e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/default/examples/sheet-demo.tsx lines 15–50
export default function SheetDemo() {
return (
<Sheet>
<SheetTrigger asChild>
<Button variant="outline">Open</Button>
</SheetTrigger>
<SheetContent>
<SheetHeader>
<SheetTitle>Edit profile</SheetTitle>
<SheetDescription>
Make changes to your profile here. Click save when you're done.
</SheetDescription>
</SheetHeader>
<div className="grid gap-4 py-4">
<div className="grid grid-cols-4 items-center gap-4">
<Label htmlFor="name" className="text-right">
Name
</Label>
<Input id="name" value="Pedro Duarte" className="col-span-3" />
</div>
<div className="grid grid-cols-4 items-center gap-4">
<Label htmlFor="username" className="text-right">
Username
</Label>
<Input id="username" value="@peduarte" className="col-span-3" />
</div>
</div>
<SheetFooter>
<SheetClose asChild>
<Button type="submit">Save changes</Button>
</SheetClose>
</SheetFooter>
</SheetContent>
</Sheet>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does SheetDemo() do?
SheetDemo() is a function in the ui codebase, defined in deprecated/www/registry/default/examples/sheet-demo.tsx.
Where is SheetDemo() defined?
SheetDemo() is defined in deprecated/www/registry/default/examples/sheet-demo.tsx at line 15.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free