Gradient text

Clipped fills, animated ramps and shine sweeps on headings.

Gradient text is `background-clip: text` with a transparent fill — three lines, and the same three lines everywhere. What varies is the taste: it works on one short heading and looks like a template on every heading, and it destroys contrast if the ramp runs into the page background. Keep the darkest stop within reach of the text colour you would otherwise have used.

11 matching11 effectsFree to copy

Bold heading text filled with a flowing five-color gradient that scrolls continuously.

Shimmer Text

Featured

Subtle slate text with a bright gold highlight band that sweeps across continuously.

Bold text filled with an indigo-to-pink gradient, lifted off the page by a soft colored drop-shadow.

Static ocean gradient text via background-clip.

Text filled with an animated ocean gradient that flows horizontally.

Hero headline with light travelling through the letters — background-clip: text over a moving ocean gradient.

Gradient-clipped headline whose letters drop in one at a time and lift individually on hover.

Text filled with a multi-color gradient that pans across the letters and pauses, then sweeps back to repeat.

Link text whose ocean gradient underline grows in from the left on hover.

Letters travelling from light to heavy on a per-character delay, picking up a vertical gradient as they thicken so the wave of weight is also a wave of colour.

Wavy rule from two offset arc gradients rather than a wavy text-decoration, which keeps the amplitude and the two colours under direct control at any font size.

Questions about gradient text

Does a screen reader still read gradient text?
Yes — it is ordinary text with a transparent fill, so nothing about the accessibility tree changes. That is the reason to do it this way rather than shipping a heading as an image.
How do I check contrast on text that is more than one colour?
Measure the lightest stop against the background and treat that as the whole heading. It is the conservative reading and it is the one an auditor will take; if the lightest stop fails, the heading fails.
Are these gradient text free to use?
All 11 are free to copy and use in your own projects, including commercial ones. A Pro licence exists for redistribution — shipping them inside a product other people buy — and the full terms are on the licence page.
How do I add one to my project?
Copy the CSS and the markup from the artifact's page — there is nothing to install, no runtime and no build step. The CLI (`npx hoverlab add`) is there for the component tiers above these, where a file gets written rather than pasted.