Tablecloth

Text

Type

Colour

Ground

Ground

Motion

Plays

Checking your unlocks…

About this effect

Tablecloth does the old magic trick with your words. The letters stand on a little table dressed in a gingham cloth that hangs down the front in soft folds to a scalloped hem. Then the cloth is whipped out from under them, tugging for a moment before it flies off, and the letters rock on their feet, each a beat after the one before and by its own amount, until they settle on the bare wooden table. A moment later a cloth is slid back underneath, and each letter hops as it passes, squashing as it lands. On hover the cloth is whipped away when the pointer arrives and slid back when it leaves.

The letters are real text, split into spans that each rock from their own feet; the cloth is CSS (two stripes of the check crossing over the cloth colour for gingham, soft folds over the top, a mask for the scallops), and every move is a keyframe the script switches on by phase. The heading keeps your words for screen readers and search.

There are no extra settings: the trick is the point. Short words with flat feet stand best; it suits restaurants, cafés, events, launches and any reveal with a bit of showmanship.

Formats
React, HTML
No dependencies
Built with
CSS and a little JS
Default font Bricolage Grotesque
Plays
Loop, In view, Hover, On load
Reduced motion
Respected
Shows the finished frame

Accessibility. One real heading, read once; the letters are split for the wobble but hidden from screen readers beside the heading's label, and the table is decoration. Under reduced motion the cloth stays on and nothing moves.

Also known as tablecloth trick text, magic trick text, wobble text animation, gingham text, playful text effect, ta-da animation.

Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.

More kinetic