SheetDemo() — supabase Function Reference
Architecture documentation for the SheetDemo() function in sheet-demo.tsx from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/design-system/registry/default/example/sheet-demo.tsx lines 16–53
export default function SheetDemo() {
return (
<Sheet>
<SheetTrigger asChild>
<Button type="outline">Show Sheet</Button>
</SheetTrigger>
<SheetContent className="flex flex-col gap-0">
<SheetHeader>
<SheetTitle>Edit profile</SheetTitle>
<SheetDescription>Make changes to your profile here.</SheetDescription>
</SheetHeader>
<div className="overflow-auto flex-grow px-0">
<SheetSection>
<div className="grid gap-4 py-4">
<div className="grid grid-cols-4 items-center gap-4">
<Label_Shadcn_ htmlFor="name" className="text-right">
Name
</Label_Shadcn_>
<Input_Shadcn_ id="name" value="Pedro Duarte" className="col-span-3" readOnly />
</div>
<div className="grid grid-cols-4 items-center gap-4">
<Label_Shadcn_ htmlFor="username" className="text-right">
Username
</Label_Shadcn_>
<Input_Shadcn_ id="username" value="@peduarte" className="col-span-3" readOnly />
</div>
</div>
</SheetSection>
</div>
<SheetFooter>
<SheetClose asChild>
<Button type="primary">Save changes</Button>
</SheetClose>
</SheetFooter>
</SheetContent>
</Sheet>
)
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free