Suggestions drawer
A phone bottom sheet of AI suggestions on a real spring: it snaps to closed, half and full, follows a drag, and a flick decides where it lands.
Sheets and modalsNo. 0422 variationsFree with an account
Playing on its own
Variation
- The idea
- A phone bottom sheet of AI suggestions
- Autoplay
- Suggestions raises the sheet to half with a spring; the handle is dragged to full and the ideas deal in; a flick sends it shut.
- When you click
- Drag the handle with snap points and flick to throw it. Keyboard: the Suggestions button opens it, the handle toggles half and full, arrows step, Escape closes.
- Look
- 24 px top radius, spring snap, rounded type
- Variations
- Candy, Ice
- Files
- index.html, style.css, script.js and prompt.md. No framework, no CDN, works offline.
The prompt and the files
Paste the prompt into Claude, ChatGPT, Lovable or any coding agent to rebuild it in your own product, or take the three files as they are.
Loading the files