Discover / Overlay
Sheet
Open a panel from the edge of the screen.
Usage notes
Give the sheet a title and description, and provide a way to close it.
Examples use @easyui/react and its stylesheet. Read the setup guide.
Example source
import { Button, Sheet, SheetClose, SheetContent, SheetDescription, SheetTitle, SheetTrigger } from "@easyui/react";
export default function Example() {
return (
<Sheet>
<SheetTrigger render={<Button variant="secondary">Open panel</Button>} />
<SheetContent><SheetTitle>Workspace settings</SheetTitle><SheetDescription>Manage your workspace here.</SheetDescription><SheetClose render={<Button variant="secondary">Close</Button>} /></SheetContent>
</Sheet>
);
}