shadcn registry · WebGPU · WebGL fallback · MIT free set

Moving gradients,
shipped as code.

gradients.sh draws backgrounds live on the GPU and ships them as React components you install with the shadcn CLI. Tune any preset, then copy the code or export a still or a loop.

Popular collections

See all

Not a folder of stills.
A gradient engine you install.

Each gradient installs as a component file you own. Move a slider and the line it controls changes in that file: what you see is what you install.

Film Blue
components/gradients/film-blue.tsx
"use client";import { GrainGradient } from "@/components/grain-gradient"; const tunedProps = {  speed: 1.35,  warp: 0.35,  grain: 0.5,  blur: 0.6,  seed: 22,  colors: tunedColors,}; export function FilmBlue(props) {  return <GrainGradient {...tunedProps} {...props} />;}

npx shadcn@latest add …

Move a slider and watch its line change. Every control in the studio

Everything a moving
background needs

Live components, an editor, a library of presets, and PNG and seamless MP4 exports for slides and video. MIT for the free set, a commercial license with Pro.

  • Rendered live, and it reacts

    A shader running in the page, sharp at any size and paused when it scrolls away. Move your cursor across it, or scroll fast and it stirs.

  • One command to install

    Every component sits on the shadcn registry. The CLI drops typed source into your repo, yours to edit.

  • Pro components

    Glass, dither, god rays and pointer-driven pieces, plus every Pro preset and full-size exports.

Need a still or a video loop? Make one in the mesh gradient generator or the grainy gradient generator. For CSS recipes and comparisons, read the blog.

One account, every gradient.

Pro adds every component and preset, bigger exports and a commercial license to your account. Pay once, or subscribe.

Lifetime

Founding price · first 50

Regular price $249$179once

$249 after the first 50 buyers. Save $70.

  • All 33 components and 207 presets
  • Every future component and preset
  • PNG up to 16K, MP4 up to 6K or 4K60 where supported
  • Commercial license for client work
  • Pay once, keep it for good
Buy lifetime for $179

Pro

$29/month

Billed monthly. Yearly saves $249.

  • All 33 components and 207 presets
  • New components and presets as they ship
  • PNG up to 16K, MP4 up to 6K or 4K60 where supported
  • Commercial license for client work
  • Renews monthly, cancel any time
Get monthly for $29

Team

Everything in Lifetime for your whole studio, paid once. Add teammates by email, each on their own account.

$799once

About $80 a person

Buy team for $799

Need more seats? Teams over 25 get a plan made for them.

Let's talk

Free: 12 components and 39 presets, no card. Start freePricing FAQ

Put a live gradient in your app

Start with a free component. It takes one command and needs no account.

$ npx shadcn@latest add @gradients/grain-gradient

Browse the free components