Sheet
Displays complementary content in a panel that slides in from an edge of the screen. Use it for focused tasks that should not replace the current page.
React
Figma
Import
import { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription } from "@kela-systems/ui-components";This page has no live example yet. Storybook shows Sheet in every state and theme.
Props
Sheet
No props of its own. It also takes the props of Base UI's dialog.
SheetTrigger
No props of its own. It also takes the props of Base UI's dialog.
SheetClose
No props of its own. It also takes the props of Base UI's dialog.
SheetContent
| Name | Default | Description |
|---|---|---|
side"top" | "bottom" | "start" | "end" | "end" | |
showCloseButtonboolean | true | |
closeLabelstring | Close |
It also takes the props of Base UI's dialog.
SheetHeader
No props of its own. It also takes the attributes of the HTML element it renders.
SheetFooter
No props of its own. It also takes the attributes of the HTML element it renders.
SheetTitle
No props of its own. It also takes the props of Base UI's dialog.
SheetDescription
No props of its own. It also takes the props of Base UI's dialog.
Related
Weigh Sheet against these before you choose.