312

Empty State

With no results, an empty box drops and bounces, its lid pops open with a question mark, then text and a button appear

Layout & pageEnterUI interactionApp UIGSAPGSAP timeline

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

An empty state for no search results or an empty list: a simple box illustration drops from above and bounces to rest, then the lid tips open from one corner and a question mark pops out and floats gently up and down; the title, description and “Browse all” button below fade up in turn; later the lid closes and the question mark disappears. Keeps a blank screen from feeling cold and guides the next step. (GSAP timeline: illustration from y:-20 ease bounce.out → lid rotation −28 back.out → question mark from scale 0 → text staggered fade-in → question mark yoyo float)

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 →