Sheet Dialog
A light share sheet that rises over the page and goes the way you send it. Press the button and the page behind dims and softens while the paper-white panel rises into place; on phones it comes up from the bottom edge. Done, Escape or a tap outside ease it away. Drag it down and it follows your finger, resisting if you push it up; let go far enough, or flick it, and it carries on off the bottom the way you threw it. It's a real dialog: focus stays inside while it's open and returns to the button after.
- dialog
- modal
- sheet
- gesture
- accessible
Code
Copy-paste source. No packages to install.
Sign up to copy Sheet Dialog
Free accounts include one component unlock every month — in all four frameworks.