Animated UI components and UI design prompts

Small pieces with a lot of feel. Animated buttons, toggle switches and micro-interactions, each shown running live with the UI design prompt that builds it. Press them, flip them, then copy the prompt.

Prompts

Live
Component · Toggles

Tactile lever toggle switches

Live
Component · Cursor effects

Brushed velvet line animation

Live
Component · Interactive components

Bouncing balls animation for dog toys

Live
Component · Animated backgrounds

Jigsaw grid distortion background

Live
Component · Buttons

Specular lacquer buttons

Live
Component · Scroll animations

Scroll stack of moving day cards

Live
Component · Menus and navigation

Staggered hamburger menu for a climbing gym

Live
Component · Carousels and galleries

Orbit animation gallery of spice tins

Live
Component · Hover and click effects

CSS 3D cube box of bonbons

Live
Component · Cards

Bento grid with a roaming spotlight

Live
Component · Text animations

Split text animation poster

Live
Component · Toggles

Day and night toggle with a changing scene

Live
Component · Cursor effects

Olive oil metaballs cursor

Live
Component · Interactive components

Letter glitch word search

Live
Component · Animated backgrounds

Singing note orb animation

Live
Component · Buttons

Glass icon buttons for quick actions

Live
Component · Scroll animations

Sticky scroll animation that opens a lido view

Live
Component · Menus and navigation

Card mega menu for a cargo bike maker

Live
Component · Carousels and galleries

Logo carousel of customers with stories

Live
Component · Hover and click effects

Liquid steel metallic logo

Live
Component · Cards

Paint fan deck with a springy bounce

Live
Component · Text animations

Rotating circular text badge

Live
Component · Toggles

Springy toggle switch settings panel

Live
Component · Cursor effects

Lamp beam cursor glow effect

Guide

How to prompt a UI component that feels right

Components live or die on their states. A good prompt lists every state and how the component moves between them.

  • List the states. Rest, hover, pressed, focused, disabled, loading.
  • Give the motion a character. "Springy", "snappy" or "soft" changes the timing curve the tool picks.
  • Ask for accessibility. Keyboard focus and reduced motion, in one sentence.