# Components

Twelve free, MIT-licensed components. Every one runs live below.

Source: https://gradients.sh/docs/components

- [Mesh Gradient](https://gradients.sh/docs/components/mesh-gradient.md): Soft colour blobs drifting into each other.
- [Grain Gradient](https://gradients.sh/docs/components/grain-gradient.md): A grainy, out-of-focus blend of saturated colour.
- [Aurora](https://gradients.sh/docs/components/aurora.md): Vertical light curtains folding over a night sky.
- [Waves](https://gradients.sh/docs/components/waves.md): Layered bands of colour rolling past each other.
- [Radial Glow](https://gradients.sh/docs/components/radial-glow.md): A warm glow rising from the bottom edge.
- [Linear Flow](https://gradients.sh/docs/components/linear-flow.md): A linear blend whose angle and colour stops drift slowly.
- [Gradient Text](https://gradients.sh/docs/components/gradient-text.md): Real, selectable text filled with a live gradient.
- [Gradient Border](https://gradients.sh/docs/components/gradient-border.md): An animated gradient border around any content. The inside stays transparent.
- [Gradient Button](https://gradients.sh/docs/components/gradient-button.md): A button with a live gradient fill and hover, press, focus and disabled states.
- [Hero Background](https://gradients.sh/docs/components/hero-background.md): A full-bleed hero section on a live gradient that fades into the page.
- [Section Fade](https://gradients.sh/docs/components/section-fade.md): A section whose live gradient fades out at its edges.
- [Gradient Card](https://gradients.sh/docs/components/gradient-card.md): A card on a live gradient, with a scrim that keeps white text legible.

Every component takes the same gradient props, such as `colors`, `speed` and `grain`, on top of its own. Each page's props table lists them with that component's defaults.

To choose colours by eye before you install, start from the [mesh gradient generator](https://gradients.sh/mesh-gradient-generator) or the [grainy gradient generator](https://gradients.sh/grainy-gradient-generator). Both open the editor, where you can copy a shadcn install command and a code example with your chosen settings.

## Install by name

Each page has a one-line install command. To install by name instead, add the registry to `components.json` once:

```json
{
  "registries": {
    "@gradients": "https://gradients.sh/r/{name}.json"
  }
}
```

Then run `npx shadcn@latest add @gradients/<name>`.
