String art

Handmade

Text

Type

Colour

Ground

Ground

Motion

Plays

Checking your unlocks…

About this effect

String art makes your words the way the craft is done on a board: a row of nails is hammered in round the outline of every letter, then one thread is wound from nail to nail across the letter and back, until the lines criss-cross into its shape. The thread shades from one colour to the other along the line, each strand with its own thin shadow and a little sheen. Run the pointer across the letters and every string it crosses is plucked: it bows the way you pushed it and hums for a moment before it settles. On a loop the thread is unwound and wound again; the nails stay.

The nails are spread evenly round the edge of the letters, and a thread is only strung between two of them when its straight line stays on the letter, so the shapes stay clean without any outline drawn. 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.

Nails sets how close together the nails are, Threads how many strands each nail holds. Wide, heavy letters give the threads room to cross; it suits craft shops, workshops, music and anything handmade.

Formats
React, HTML
No dependencies
Built with
Canvas, over real text
Default font Unbounded
Plays
Loop, In view, On load
Reduced motion
Respected
Shows the finished frame

Accessibility. One real heading, read once; the nails and threads are drawn on a canvas hidden from screen readers. Under reduced motion the threads are wound from the start and never unwind; a pluck from the pointer settles almost at once.

Also known as string art text, nail and thread lettering, thread text effect, pluck strings animation, craft text effect, yarn and nails.

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

More path and shape