Ember Drift

Warm particles rising with soft bloom.

Try it: Watch embers rise and bloom.

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/ember-drift.json

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

Usage

import { EmberDrift } from '@/components/ui/ember-drift'

Props

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

    Dual-tone mist with chromatic split on motion.

  • Void Lattice Drift

    Faint perspective lattice drifting in a void.

  • Pulse Rings

    Concentric soft rings expand from pointer/click.

  • Silk Shear Field

    Shearing silk ribbons that bend 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.

  • Ink Ripple Grid

    Click blooms ink ripples on a grid.

See all 15 Animated Backgrounds components