Riffle

Deal me in

Text

Type

Colour

Ground

Ground

Motion

Plays

Checking your unlocks…

About this effect

Riffle prints each of your letters on a playing card, with the letter big in the middle and small in the corner the way a card carries its index. At rest the cards are held as a hand, fanned in a gentle arc. Then the hand is gathered into a deck, the deck is split in two and riffled, the cards from each half dropping into the middle in turn, and squared up; then the cards are dealt back out to their places one at a time, each landing with a little spin, in the right order again.

The cards are sized from your letters, so wide letters get wide cards. The heading stays real text for screen readers and search. Deal sets how fast the cards are dealt.

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

Accessibility. One real heading, read once; the cards and their letters are hidden from screen readers. Under reduced motion the cards rest as a fanned hand.

Also known as playing card text, card shuffle animation, deal cards text effect, riffle shuffle, casino text animation, card fan text.

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

More motion