r/tailwindcss • • 19h ago

A headline where each letter swells from hairline to black as your cursor passes

0 Upvotes

Built this hero for DeliverWebsite UI. Each letter measures its own centre once (on mount, after fonts load, on resize), then a motion value turns the pointer distance into pressure: max(0, 1 - d / 240), squared so it peaks right under the cursor. That drives font-weight 200 → 900 and opacity, so it needs a variable font (Inter works).

Two things that tripped me up: words have to be inline-block + whitespace-nowrap so they never break mid-word, and the space has to sit between the word spans, because a browser drops a trailing space inside an inline-block.

On phones there's no cursor, so a virtual pointer drifts in a slow figure of eight and rolls a wave through the line instead.

Would you use something like this on a real landing page, or is it too much?


r/tailwindcss • • 9h ago

Dual-harmonic 2D Canvas wave synthesizer built with pure React & Tailwind CSS (frequency jumps from 432Hz to 864Hz on hover)

0 Upvotes

r/tailwindcss • • 20h ago

V4 solved my biggest Issue

Post image
2 Upvotes

r/tailwindcss • • 7h ago

AI can build a landing page in minutes now. The catch is, you can usually tell :) We put a lot of work into making our 351 Tailwind CSS sections not look like AI slop.

8 Upvotes

Hey r/tailwindcss 👋

All 351 now share one design language, with light and dark for every section.

Under the hood it's nothing exotic: Tailwind v4 and CSS variables, so your theme restyles everything, and motion is CSS only. Paste them as plain HTML or install them as shadcn/ui blocks.

It's Tailkits UI v2, shipping next week. 34 of the sections are free (MIT).

PS: 60% off with CYBERMONDAY2026 until December 3, 23:59 UTC, redesign included.

And yes, people still buy UI kits. Would you?