143

Bottom Sheet

The background dims and a sheet slides up from the bottom with a little spring

Layout & pageEnterExitApp UIUI interactionGSAPBottom sheet

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

After an action such as “Share”, a semi-transparent overlay gradually dims the screen and a menu panel slides up from the bottom with a slight bounce (about 0.6 s); a small grab handle sits at the top of the panel, and the options inside fade in from 8px below one after another. On close, the panel slides down quickly (about 0.35 s, accelerating) and the overlay fades out. (GSAP: panel yPercent 100→0, ease back.out(1.1); options stagger 0.06; close with power2.in; a real app can let users drag the handle down to close)

When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.

How to use it

  1. Tap “Copy AI prompt”.
  2. Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
  3. The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.

More layout & page effects

346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts

Browse all effects →