A drawer that slides in from any side of the screen.
Copy the command below and run it in your terminal.
bunx @sivir/ui add sheet
pnpm dlx @sivir/ui add sheet
npx @sivir/ui add sheet
yarn dlx @sivir/ui add sheet
Import Sheet and compose it with sub-components:
import * as Sheet from '$lib/sivir/components/sheet'; <Sheet.Root> <Sheet.Trigger>Open</Sheet.Trigger> <Sheet.Content> <Sheet.Header> <Sheet.Title>Title</Sheet.Title> </Sheet.Header> {/* content */} </Sheet.Content> </Sheet.Root>
Sheet with different sides and compositions.