Primary

Bold moves

Text

Type

Colour

Ground

Ground

Motion

Plays

Checking your unlocks…

About this effect

Primary fills your letters with a composition in the De Stijl manner: a grid of rectangles divided by thick black lines, most of them white and a few in pure red, blue and yellow, and a heavy black outline round every letter holding it all together. Then the lines slide: every division moves at once to a new position, the blocks stretching and shrinking, and the colours trade places as they pass, until the word settles into a second composition; later it slides back.

The grid is cut fresh across your own letters, so every word gets its own composition. It is drawn on a canvas, and the heading keeps your words for screen readers and search.

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

Accessibility. One real heading, read once; the composition is drawn on a canvas hidden from screen readers. Under reduced motion it rests on its first composition.

Also known as de stijl text effect, primary colour blocks text, geometric grid text, modernist text, colour block letters, bauhaus style text.

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

More colour and marks