Drawer
Drawer (Off-canvas)
A menu panel that slides in smoothly from the side of the screen.
💡 It slides out from the side, just like pulling open a desk drawer.
👆 Try it yourself
It really works — click around and see.
LOGO
🤖 Say this to your AI
When the hamburger button is tapped, make a Drawer (off-canvas menu) slide in smoothly from the left over 0.3s. Darken the background behind it, and close it when the background is clicked or ESC is pressed.
The key word is ‘Drawer (Off-canvas)’. Including it helps AI understand you much more precisely.
📌 Good to know
A drawer that slides up from the bottom is often called a 'Bottom Sheet'.
When to use it
- When you show the menu after someone taps the hamburger button
- When you need a panel to peek at briefly, like a shopping cart or filters
Also called: slide-out menu, side menu, off-canvas, menu that slides in, bottom sheet, slide-in panel, side panel