Punch needle
Welcome
Text
Type
Colour
Ground
Motion
About this effect
Punch needle makes your words the way a punch-needle rug is made: loops of yarn pushed through the cloth in rows that follow the outline of each letter inward, one ring inside the last, so the rows echo the shape of the letter all the way to its middle. The outer rows are a second yarn, a border. A needle works the outline across the whole word first and then each ring inside it, every loop popping up as it pulls out. Run the pointer over the rug and the loops under it fluff up, then settle back. On a loop the yarn is pulled out and punched again.
The rows come from the distance to the letter's edge, measured for every pixel, and loops are spaced along each ring a loop apart, each turned along its row and drawn as a plump bump with the plies curling over it. 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.
Pile sets how big the loops are, Border how many rings of the second yarn edge each letter. Rounded, heavy letters punch best; it suits homeware, doormats, cosy brands, crafts and kids' rooms.
- Formats
- React, HTML
- No dependencies
- Built with
- Canvas, over real text
- Default font Outfit
- Plays
- Loop, In view, Hover
- Reduced motion
- Respected
- Shows the finished frame
Accessibility. One real heading, read once; the loops are drawn on a canvas hidden from screen readers. Under reduced motion the rug is punched from the start and never pulled out; the loops still fluff for the pointer.
Also known as punch needle text, rug text effect, tufted text, yarn loop text, rug hooking text, doormat text.
Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.