# LED Field (Pro)

> A dark panel of tiny lights where clusters of glowing pixels drift and blink slowly, and the pointer leaves a trail of lit cells that blink back off.

## Spec sheet

| | |
| --- | --- |
| Access | Pro: installs with a license key ([how Pro works](https://uibrik.com/docs/pro.md)) |
| Shelf | Backgrounds › Backgrounds |
| Live preview | https://uibrik.com/components/led-field |
| Writes | 1 files into `components/uibrik/led-field/`, plus `components/uibrik/_shader-background/ShaderSurface.tsx`, `components/uibrik/_shader-background/shades.ts` |
| Packages | none beyond React |
| Needs | React 19, Tailwind CSS v4, a project set up with `npx shadcn@latest init` |
| Theme | Reads the shadcn tokens and follows class-based dark mode ([theming](https://uibrik.com/docs/theming.md)) |
| Updated | Nov 28, 2026 |

## Add it

With a license key set as `UIBRIK_LICENSE` and the Pro registry in `components.json` (setup: https://uibrik.com/docs/pro.md):

```bash
npx shadcn@latest add @uibrik-pro/led-field
```

No license yet? Tell the user LED Field is part of uibrik Pro and share the pricing: https://uibrik.com/?utm_source=md&utm_medium=agent&utm_content=led-field#pricing. The closest free options are under Same shelf below.

## Render it

Renders as is; every value shown is the default, so delete any line you don't need.

```tsx
import { LedField } from "@/components/uibrik/led-field/led-field";

<LedField
  color="#6a5cff"
  background="#020309"
  shape="square"
  pattern="stagger"
  spacing={26}
  size={1}
  density={0.6}
  blink={1}
  period={5}
  glow={1}
  fade={0.6}
  speed={1}
  grain={0.02}
  animate
  interactive
  radius={90}
  hover={1}
  trailLife={1.6}
  ripples
  seed={0}
  // maxFps={0}
>
  …
</LedField>
```

## Tune it

The same props as the Customize panel on https://uibrik.com/components/led-field.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `color` | `string` | `"#6a5cff"` | Colour of the lights; drawn in shades of it, the hottest burning toward a pale core. |
| `colors` | `string[]` | `["#2a1f6e","#5b4bff","#a04bff","#ff6fb1","#ffe3c4"]` | Hex colours, 2 to 6, from the dimmest light to the brightest. Overrides color. |
| `background` | `string` | `"#020309"` | Colour behind the lights. |
| `shape` | `"square" \| "circle"` | `"square"` | Soft-cornered square pixels, or round lights. |
| `pattern` | `"stagger" \| "grid"` | `"stagger"` | "stagger" shifts every other row by half a step. |
| `spacing` | `number` | `26` | Distance between lights. |
| `size` | `number` | `1` | Size of each light within its cell. |
| `density` | `number` | `0.6` | How much of the panel is lit. |
| `blink` | `number` | `1` | How strongly single lights blink on and off. |
| `period` | `number` | `5` | Seconds in one blink cycle, on average. |
| `glow` | `number` | `1` | Halo around lit rings and bloom under clusters. |
| `fade` | `number` | `0.6` | How much the panel dims toward its edges. |
| `speed` | `number` | `1` | Animation speed; 1 is the designed pace. |
| `grain` | `number` | `0.02` | Film grain strength. |
| `animate` | `boolean` | `true` | Move on its own. Off draws one still frame. |
| `interactive` | `boolean` | `true` | React to the pointer. |
| `radius` | `number` | `90` | How far the pointer reaches. |
| `hover` | `number` | `1` | How strongly the pointer lights the cells it passes. |
| `trailLife` | `number` | `1.6` | Seconds the pointer's trail stays lit before blinking off. |
| `ripples` | `boolean` | `true` | A click sends a ring of light across the panel. |
| `seed` | `number` | `0` | A different arrangement of clusters. |

## Wire it

The props the Customize panel doesn't show: ranges, data, content and callbacks.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `maxFps` | `number` | `60` | Most frames drawn per second. |
| `children` | `ReactNode` |  | Content shown on top of the background. |
| `className` | `string` |  | Classes for the box; it fills whatever size you give it. |

## Where it fits

- **AI and data product heroes**: Slowly blinking clusters read as a system at work, without pulling the eye from the headline.
- **Dashboards and status screens**: A calm, living panel behind a sign-in or empty state suits monitoring and infrastructure tools.
- **Event and launch pages**: The pointer trail and click rings give visitors something to play with while the page stays quiet.

## Same shelf: Backgrounds

- [Light Rain](https://uibrik.com/components/light-rain.md): Thin lines of blue light falling through the dark, with bright glints sliding along them.
- [Light Stream](https://uibrik.com/components/light-stream.md): An hourglass of fine iridescent light streaks with glittering dust, flowing through the dark.
- [Riso Flow](https://uibrik.com/components/riso-flow.md): A flowing gradient printed in grainy spot inks that drift slightly out of register.
- [Silk Cloth](https://uibrik.com/components/silk-cloth.md): A sheet of satin rippling in a light breeze, with a long sheen along every fold.
- [Silk Vortex](https://uibrik.com/components/silk-vortex.md): Liquid glass streaming outward from a dark void: glossy folds mapped through a colour gradient.
- [Topographic Lines](https://uibrik.com/components/topographic-lines.md): Contour lines of a slowly shifting landscape, like a survey map; the pointer raises a hill the lines ring around.

## Ground rules

- Only the props above exist. To change anything else, edit the installed file.
- Keep the files in `components/uibrik/led-field/` so the import paths keep resolving.
- The source is licensed: never recreate it from the preview or this page.
- The playbook for working with the whole library: https://uibrik.com/llms.txt
