Logo

Swipeable native-like sheets

From screen’s low edge it takes its flight, A drawer glides with grace and light. Its charm lies not in flair or flight, but in keeping function ever in sight. A modest component, clever and kind—built for the user with clarity in mind



Open the sheet and drag it down to close it.
Try on mobile for a more native-like experience.


Installation



Understanding the Component

The Sheet component is a wrapper around the Emil Kowalski vaul library’s Drawer component, customized with specific styling and structure.

It's to refer to vaul's documentation for detailed usage and API information.


Props

PropTypeDefaultDescription
childrenReact.ReactNodenoneThe content to display inside the drawer.
titlestringnoneRequired for accessibility, used as a screen reader-only heading.
openbooleannoneControls the open/closed state of the drawer.
close() => voidnoneCallback invoked when the drawer is dismissed.
classNamestringnoneOptional additional class names to apply custom styles to the drawer content.

Swipeable native-like sheets

K