# Noise Background

> Soft clouds of smooth noise that slowly evolve.

Texture with no pattern to spot. Computed at low resolution and scaled up, so it stays cheap behind a full-width section.

- Family: Backgrounds
- Plan: Creative. Included with Creative.
- Requires: React, Tailwind CSS v4 and the motion package
- Page with a live preview: https://galactrex.com/ui/noise-background/
- Licence: https://galactrex.com/ui/license/

## Install

```sh
npx @galactrex/ui login   # once, with an API key from https://galactrex.com/account/
npx @galactrex/ui add noise-background
```

It installs to `components/galactrex/noise-background.tsx`, with the shared motion helpers beside it. First time in a project: `npx @galactrex/ui init` (setup guide: https://galactrex.com/docs/ui-components-setup/).

## Usage

```tsx
import { NoiseBackground } from "@/components/galactrex/noise-background";

<section className="relative overflow-hidden">
  <NoiseBackground />
  <h1 className="relative">Soft weather</h1>
</section>
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `scale` | `number` | `10` | Smallest feature in px; larger is softer and cheaper. |
| `speed` | `number` | `0.12` | How fast the clouds evolve; 0 holds still. |
| `detail` | `number` | `3` | Layers of detail, 1 to 4. |
| `opacity` | `number` | `0.22` | Brightest cloud, 0 to 1. |
| `color` | `string` | `"--gxui-ink"` | CSS colour or --gxui-* name. |
| `className` | `string` | — | Extra classes for the outer element. |

## Variants

- **Weather.** Slowly evolving clouds.
- **Paper.** `speed={0} detail={4}` for a still texture.

## Accessibility

- Decorative only and aria-hidden; never takes pointer events.

## Motion

- Computed on a small canvas and scaled up.
- Pauses offscreen.
- Reduced motion: a still texture.
