Black Friday: 30% off Pro

Get 30% off

Updated

LED Field

Pro

Preview

Customize

Color
Background
square
stagger
Spacing26px
Size1.00
Density0.60
Blink1.00
Period5.0s
Glow1.00
Fade0.60
Speed1.0
Grain0.020
Radius90px
Hover1.00
Trail life1.6s
Seed0

Installation

Pro

LED Field is a Pro component

Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.

Install with a key

  1. Add the Pro registry to components.json:
    components.json
    {
      "registries": {
        "@uibrik-pro": {
          "url": "https://uibrik.com/r/pro/{name}.json",
          "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" }
        }
      }
    }
  2. Put your key in .env.local and add that file to .gitignore:
    .env.local
    UIBRIK_LICENSE=your-license-key
  3. Install it:
    Terminal
    npx shadcn@latest add @uibrik-pro/led-field

Usage

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>

Where to use LED Field

  • 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.

Props

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