Introduction

Animated GPU gradients for React, installed with the shadcn CLI so you own the code. Vue, Svelte and plain HTML pages can embed editor gradients live.

A component, not a video

gradients.sh is a set of animated gradient components for React. They draw on the GPU, loop without a visible seam and take colours from your theme. The shadcn CLI copies each one into your project, so you can read and change every line.

The shadcn CLI installs React components. Vue, Svelte and plain HTML pages can still show a gradient made in the editor live, through the hosted <gradients-element> described in Embed.

  • Installation: add your first gradient in three steps.
  • Components: twelve free components, MIT licensed.
  • Pro: interactive and textured components for Pro accounts.
  • Presets: tune a gradient in the studio and install exactly what you see.