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 CSS 3D.
Try it: Watch the floor glide; use the pause button in the corner.
Brings its own background. Paints its own sky, horizon glow and perspective floor; dusk and mono palettes each have light and dark variants that follow the nearest .dark/.light scope.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/horizon-grid-field.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/horizon-grid-field. You can also copy the source into components/ui/horizon-grid-field.tsx (view on GitHub).
Usage
import { HorizonGridField } from '@/components/ui/horizon-grid-field'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
palette | 'dusk' | 'mono' | 'dusk' | Lilac sky + warm horizon, or neutral graphite / paper. |
cellSize | number | 56 | Grid cell size in px (24–120). |
angle | number | 74 | Floor tilt in degrees (55–82). |
speed | number | 1.6 | Seconds to travel one cell; 0 freezes. |
showControls | boolean | true | Show the Pause / Play control. |
children | ReactNode | — | Content centred above the field. |
className | string | — | Extra classes merged onto the root (size, radius). |
Dependencies
motionlucide-react
Related Animated Backgrounds components
- 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.…
- 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.
- 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.
- Pulse Rings
Concentric soft rings expand from pointer/click.
- 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.
- Chromatic Mist
Dual-tone mist with chromatic split on motion.