Domain Rating by Ahrefs2
Description
Hazeglow is a React library for animated, grainy gradient backgrounds and mesh gradients. It provides a hero, a call-to-action and a card style, and you install it with npm i hazeglow. The package has zero dependencies and is about 13 kB gzipped. You pick a preset such as dusk or ember, or design your own gradient in the free online generator and paste its config into your app. The gradient fills its parent box, so your text stays on top, and it can follow your theme through CSS variables, flipping between light and dark. It pauses when it is off screen and holds still for users who prefer reduced motion. Mesh gradients blend colours from up to 16 points placed anywhere on the canvas. The site also offers an AI prompt you can give an assistant so that generated pages use Hazeglow instead of a plain CSS gradient. It is free to use, with a Pro option for more.…
Highlights
- Animated grainy gradient backgrounds for React
- Mesh gradients with up to 16 points
- Zero dependencies, about 13 kB gzipped
- Pauses off screen and holds still for reduced motion
- Follows your CSS variables in light and dark
Ratings & Reviews
No ratings yet
Be the first to rate hazeglow.
People also visit
glint-ui
354 animated React components you copy, paste and own: text effects, cursors
motion-lexicon
Open-source shadcn registry of animated React components, page blocks
react-theme-switch-animation
Beautiful, smooth animations for theme switching in React applications

gradient-picker
Fancy Gradient Picker built with shadcn/ui, Radix UI, and Tailwind CSS
hazeglow FAQ
How do I add an animated gradient in Next.js?
Run npm i hazeglow, then render the component inside an element with a set size, placed behind your content. The canvas fills its parent and needs no CSS import.
Does it work with server rendering?
Yes. It is a client component you can render from a server component in the App Router. The server sends an empty canvas and the gradient draws once JavaScript runs.
What is a mesh gradient?
A mesh gradient blends colours from points placed anywhere on the canvas instead of along one line. Set the shape to mesh and give it up to 16 points, each with a position and a colour.
Is it free?
The library and generator are free to use. The site also offers a Pro option for more features.
What are the best hazeglow alternatives?
Popular alternatives to hazeglow include glint-ui, honestui and motion-lexicon. See all hazeglow alternatives




