Animate anything

A GSAP motion kit for websites and forms. Pick a recipe, add one attribute, and the page moves.

Sixteen recipes cover scroll, text, SVG, hover and forms. Each is a data attribute on plain HTML, themed by variables, and quiet when a visitor asks for less motion.

Scroll

Pinned moments, sideways galleries and text that lights up as you read.

  • pin-scrub
  • horizontal-scroll
  • marquee-reel
  • scrub-fill

Text

Headlines that rise by line, word or letter, and labels that decode into place.

  • split-reveal
  • scramble

SVG

Line art, underlines and diagrams that draw themselves as they arrive.

  • path-draw

UI and forms

Buttons that lean toward the cursor, glowing borders, and forms that guide.

  • magnetic
  • spotlight-border
  • pattern-field
  • dot-field
  • field-focus
  • validation
  • step-transition
  • progress
  • success

Showreel

Built with the kit

Five example pages, each using a different mix of recipes. Hover a card to preview it, click to open it.

See all examples

Effects lab

Pick one, copy the prompt

18 ready-made interactions for scroll, mouse, drag and click. Each has a live demo and a prompt you paste into your AI assistant with your own photos and words.

Open the effects lab

Text

Type that arrives

Four ways to bring a headline in. Each one reads as plain text first, so search engines and screen readers see the real words.

Lines rise out of a mask, one after another.

split-reveal, split lines

Words follow each other like a sentence being spoken.

split-reveal, split words

Every letter lands on its own.

split-reveal, split chars

DECODING THE HEADLINE

scramble

Backgrounds

Textures that react

Generative grids drawn in code, with no image files. Move your cursor over them, or press and hold. With nobody there they keep drifting on their own.

Lens dots

Dots swell under the cursor like a fisheye.

pattern-field

Turning bars

Bars swing round to face the pointer.

pattern-field bar

Push and ripple

Dots scatter, spring back, and ripple on a click.

dot-field

Images that travel sideways

Vertical scrolling pans a row of photographs across the screen. On a phone it becomes a swipeable strip.

horizontal-scroll

Concrete facade with hard geometric lines
Concrete facade
Home studio desk with camera gear and a graphics tablet
Studio desk
Narrow city alley lit by neon signs at night
Neon alley
Foggy mountain ridges fading into the distance
Mountain fog
Sharp concrete corner against a deep blue sky
Blue corner
Abstract flowing gradient shapes in vivid colour
Gradient study

SVG and UI

Lines that draw, cards that glow

path-draw with scrub, tied to scroll position

Hover close to me

magnetic, leans toward the cursor on devices with a mouse

Laptop, monitor and accessories on a tidy desk

Move the cursor across a card and the border follows.

No script to write

spotlight-border

Works over video too

Drop it on any card, panel or tile.

pure CSS glow, one small script for pointer tracking

Forms

A form that guides

  • Focus. The field underline draws in and the label tints.
  • Errors. A short shake plus a message read out by screen readers.
  • Steps. Slides between steps and checks each one first.
  • Done. A tick draws itself in the confirmation.

Press Watch to see a form fill itself, or pick one and try it. Nothing is sent anywhere.

Try it yourself, or press Watch.

Step 1 of 3

About you

Your project

Budget

Where it fits

Portfolio

Your name rises in, the work travels sideways, and the contact button leans toward the cursor.

split-revealhorizontal-scrollmagnetic

Landing page

One pinned hero moment, a statement that lights up as it is read, and quiet reveals everywhere else.

pin-scrubscrub-fillpath-drawspotlight-border

Quote or intake form

Break a long form into steps with live validation, a progress bar and a clear confirmation. It still submits with JavaScript off.

field-focusvalidationstep-transitionprogresssuccess

An existing site

Keep your colours and fonts. The kit maps onto your variables and only adds motion.

inherit thememotion only

The whole API is attributes

No timelines to write. Name the recipe, tune it with data attributes, and load the scripts you use.

<!-- on the element -->
<h1 data-aa="split-reveal"
    data-aa-split="lines"
    data-aa-stagger="0.12">
  Your headline
</h1>

<a data-aa="magnetic">Start</a>

<!-- recipes combine -->
<form data-aa="field-focus validation
               step-transition progress success">
<!-- before </body> -->
<script src="aa/aa-core.js"></script>
<script src="aa/recipes/split-reveal.js"></script>
<script src="aa/recipes/magnetic.js"></script>

/* theme: refero, custom or inherit */
:root {
  --aa-accent: #0ae448;
  --aa-fg: #fffce1;
}

/* test the calm path */
yoursite.com/?aa-reduce=1
Palette