Banner
Text
Type
Colour
Ground
Motion
About this effect
Banner prints your words on a canvas banner and hangs it from a wooden rod on a cord. The cloth is simulated as a sheet of springs pinned along the top: gusts roll across it from one side, so soft folds travel along and the free hem swings the most, and wherever the cloth turns away from you it takes up less room, bunching the print into the fold the way real cloth does. Each fold catches the light from the top left and drops into shade on its far side, and the banner casts a soft shadow on the wall behind it. Press the pointer into it and the cloth gives under your hand, ripples running out across it, and it springs back when you let go.
The cloth is a grid of a couple of thousand small pieces of the print, each placed where the simulation says its corner has moved to and shaded by how it faces the light. The print is canvas with a faint weave, a stitched hem top and bottom, and ink worn a little by the cloth. It is drawn on a canvas from the heading's own letters (font, size and line breaks are the page's), and the heading keeps your words for screen readers and search.
Wind sets how hard the gusts blow. Short lines hang best; it suits markets, fairs, openings, shops and any announcement.
- Formats
- React, HTML
- No dependencies
- Built with
- Canvas, over real text
- Default font Fraunces
- Plays
- Loop, Hover
- Reduced motion
- Respected
- Shows the finished frame
Accessibility. One real heading, read once; the banner is drawn on a canvas hidden from screen readers. Under reduced motion there is no wind and the banner hangs still; it still gives under the pointer.
Also known as banner text, flag text effect, waving cloth text, fabric banner animation, cloth simulation text, hanging sign text.
Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.