Dropdown Reveal
Opening the dropdown pops the panel down, options slide in one by one and the arrow flips
This effect uses fixed demo content, so custom text isn’t applied.
Hannah's Motion Library
Web motion effects × AI prompts
AI prompt
A dropdown menu: when the menu button is tapped, the arrow on the right flips 180° and the options panel below opens from its top edge with a slight bounce (scaleY 0.6 → 1, fading in), while the options inside slide down and fade in one after another (about 0.05 s apart); hovering an option lights its background faintly; choosing one closes the panel and shows the selected value on the button. (CSS: panel transform-origin:top with a cubic-bezier(.3,1.3,.5,1) transition; each option sets --i, with transition-delay: calc(var(--i) × 0.05s) when opening)
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
- Tap “Copy AI prompt”.
- 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).
- The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.
More form & control effects
346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts
Browse all effects →