Flicker Dot Field

A calm LED-like matrix: each mark drifts between brightness levels on its own clock so the field shimmers without syncing, and marks near the pointer glow. Set flicker to 0 for a still dot pattern. Canvas 2D.

Try it: Move the pointer through the field — nearby marks light up.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/flicker-dot-field.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/flicker-dot-field. You can also copy the source into components/ui/flicker-dot-field.tsx (view on GitHub).

Usage

import { FlickerDotField } from '@/components/ui/flicker-dot-field'

Props

Component props
PropTypeDefaultNotes
shape'square' | 'dot''square'LED squares or round dots.
size / spacingnumber3 / 12Mark size (1–8) and centre spacing (6–48) in px.
flickernumber0.5Liveliness 0–1; 0 is a still pattern.
maxOpacitynumber0.6Brightest a mark gets.
colorstring—Mark colour; defaults to lilac tuned per theme.
pointerGlow / vignettebooleantrue / truePointer brightening; radial edge fade.
showControlsbooleantrueShow the Pause / Play control.
theme'auto' | 'light' | 'dark''auto'Canvas palette; auto follows the nearest .dark/.light.
childrenReactNode—Content centred above the field.
classNamestring—Extra classes merged onto the root.

Dependencies

  • lucide-react
  • Iron Filings Field

    Thousands of steel needles on paper swing with a little inertia to align with the magnetic field of a few poles; the pointer carries a north pole and clicks drop new poles.

  • Horizon Grid Field

    A quiet perspective floor gliding toward you under a softly lit horizon. Hairline grid lines fade into haze, a low glow sits on the vanishing line and, in dark scopes, still stars hang above. Pure…

  • Glow Arc Hero

    A rainbow of glossy tiles fans in around a centred headline; each tile breathes its own coloured halo while the arc sways and tilts toward the pointer.

  • Grain Gradient Field

    A full-bleed background of four slowly drifting colour blobs under real SVG film grain, with a pointer-following glow. Four palettes, light and dark tuned, still when reduced motion is on.

  • Prism Tidal Field

    Soft lilac tidal bands that bend toward pointer velocity.

  • Pulse Rings

    Concentric soft rings expand from pointer/click.

See all 15 Animated Backgrounds components