Void Lattice Drift

Faint perspective lattice drifting in a void.

Try it: Move — the lattice drifts with your gaze.

Brings its own background. Paints its own canvas backdrop and adapts on its own: theme='auto' (default) follows the nearest .dark / .light ancestor. Force a look with theme='light' or theme='dark', and restyle the frame (radius, size, border) with className.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/void-lattice-drift.json

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

Usage

import { VoidLatticeDrift } from '@/components/ui/void-lattice-drift'

Props

Component props
PropTypeDefaultNotes
theme'auto' | 'light' | 'dark''auto'auto follows the nearest .dark / .light ancestor; light / dark force a palette.

See all 15 Animated Backgrounds components