This Svelte project provides a layout with a base layer and a popup layer. The popup layer slides up from the bottom and can be closed by either dragging down a handle bar or clicking on a semi-transparent overlay.
git clone https://github.com/jaensen/svelte-popup-layout.gitnpm installnpm run devTo toggle the popup, click the "Toggle popup" button. To close the popup, either click on the overlay, or drag the handle bar at the top of the popup downwards.
MIT