Particle Morph Loader

A depth-lit swarm of motes spins in 3D and melts between sphere, ribbon, shell, tetra, ring and helix while a status word rolls underneath.

Try it: Watch the swarm morph; pick a shape or tint, or simulate done/error.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/particle-morph-loader.json

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

Usage

import { ParticleMorphLoader } from '@/components/ui/particle-morph-loader'

Props

Component props
PropTypeDefaultNotes
shapesParticleShape[]['sphere','ribbon','shell','tetra','ring','helix']Forms to cycle; pass one to lock it.
sizenumber180Canvas edge in px.
colorstring'#a78bfa'Particle tint (#rrggbb).
labelsstring[]—Status words, one per morph.
speed / pointsnumber1 / 320Cadence multiplier and particle count.
state'loading' | 'done' | 'error''loading'Done condenses to mint; error scatters in rose.
onRetry() => void—Renders a retry pill in the error state.

Dependencies

  • motion
  • lucide-react
  • Lattice Pulse Loader

    3×3 nodes pulse in a traveling wave.

  • Ghost Gobbler Skull

    A glossy vinyl-toy skull that tracks little black-smoke ghosts drifting in from every direction, drops its jaw, slurps each one in like spaghetti and CHOMPS — then levels up: glowing eyes, blush…

  • Snake Loader

    A progress loader whose visual is a tiny snake board. The snake plays itself while you wait, progress fills a row of tiles beneath it, and the status line carries the label, current step and…

  • Liquid Charge Capsule

    A glass capsule with a two-layer sloshing liquid that rises to the charge level. Colour warms from ember red to calm emerald as it fills, bubbles rise and pop while charging, a brushed-metal bolt…

  • Login Gate Intro

    A lock-screen preloader: oversized clock, generated avatar card, a password field that types itself, a three-step sign-in sequence, then the site fades up. Skip link included; reduced motion opens…

  • Morph Glyph Loader

    Glyph morphs through abstract SVG shapes.

See all 11 Loading components