React Voxel Tetris – Animated Loader
Isometric 3D voxel blocks drop into a 3D tray layer-by-layer with spring-squash impacts, sparkle on complete, and wobble-topple on error. Customize colours, shadows, and Playful, Minimal, or Mono styles. Copy React & Flutter code or install via CLI.
Live vector preview rendered straight from the same 120 Hz spring engine—no heavy GIF compression artifacts, zero layout shift.
Customization playground
Tune outline, fill, accent, text colour, and shadow direction live above. The snippet updates automatically for copy-and-paste.
Customize
<VoxelTetrisLoader />Installation
Install directly into your project source with the Kipluo CLI (React/Tailwind v4) or add the matching Flutter package.
Install
$ npx kipluo add voxel-tetris-loaderWorking code example
import { VoxelTetrisLoader } from "@/components/kipluo/voxel-tetris-loader";
export function Example() {
return (
<div className="flex items-center justify-center p-8">
<VoxelTetrisLoader value={68} status="running" size={96} />
</div>
);
}What Voxel Tetris does
- Isometric 3D voxel blocks drop into a 3D tray layer-by-layer with spring-squash impacts, sparkle on complete, and wobble-topple on error.
- Designed for Status & progress, Onboarding flows with real spring physics that stay smooth even when users interrupt or spam interactions.
- Ships with Playful, Minimal, and Mono themes, synthesized Web Audio feedback (optional via sound={false}), and automatic prefers-reduced-motion support.
Accessibility & sound behavior
Keyboard & screen readers: role="progressbar" with aria-valuenow. Arrow keys tilt the 3D stack; Space or Enter bounces the tower.
Reduced motion: Automatically respects prefers-reduced-motion: reduce by snapping spring targets immediately without jarring travel.
Sound cues: Pentatonic landing ticks as voxels stack, soft pop on tap bounce, chime on completion burst, and bonk on error topple. Disable per instance with sound={false} or globally via setSoundEnabled(false).
API reference
valuenumber | undefined- 0–100. Leave undefined for indeterminate 3D motion. Default
undefined. status"running" | "complete" | "error"- Shows finished or failed 3D choreography. Default
"running". sizenumber- Width and height in px. Default
104. interactiveboolean- Enables pointer 3D orbit, tap impulses, and keyboard arrows. Default
true. style"playful" | "minimal" | "mono"- Set with data-kstyle on any ancestor. Default
inherited. labelstring- Accessible progressbar name. Default
"Loading". soundboolean- Plays this component's sounds. The global switch setSoundEnabled(false) silences every component. Default
true.
Framework compatibility
| Platform / Tool | Status | Details |
|---|---|---|
| React 18 & 19 | Full support | Zero peer runtime lock-in beyond @kipluo/core. |
| Next.js App Router | Full support | Ships with 'use client' boundaries; SSR-safe hydration. |
| Vite / Remix / Astro | Full support | Standard ESM TypeScript source files you own. |
| Tailwind CSS v4 & shadcn/ui | Native | Inherits CSS variables and installs via shadcn registry or CLI. |
| Flutter (Dart) | Native package | Matching spring physics, themes, and PCM audio in packages/flutter/kipluo. |
Build it yourself: related tutorials
All tutorials →How to Build a Custom Loading Animation with CSS
Design GPU-friendly custom CSS and SVG loaders using stroke-dashoffset, transform-only keyframes, determinate progress bars, and reduced-motion fallbacks.
How to Implement Spring Physics Without a Heavy Animation Library
Write a rock-solid 45-line semi-implicit Euler spring engine in TypeScript with fixed 120 Hz sub-stepping, zero dependencies, and true velocity preservation.
How to Handle Interrupted Animations in React
Learn why rapid clicks, mid-flight drags, and unmounts break React animations—and how velocity-preserving springs and proper cleanup make them unbreakable.
Related components
- Open component →Kinetic Spheres 3DFree
Four glossy shaded 3D spheres orbiting and leaping through Z-depth over dynamic ground shadows, with a perspective progress ring on the floor.
- Open component →Paper BoatPaid
Crisp origami boat bobbing across animated spring waves from 0% to 100%, sailing up to a harbor flag with a celebratory aura on complete.
- Open component →Scan Slab 3DPaid
Floating tilted 3D slab swept by a glowing 3D laser plane that resolves flat grid cells into extruded shaded 3D blocks as progress advances.
- Open component →Flux Torus 3DPaid
Tilted 3D segmented ribbon torus painted in depth-sorted 3D quads on HiDPI Canvas 2D with a soft floor reflection and free angular spin.
- Open component →WormFree
Determinate or indeterminate progress with complete, error and reset states.
- Open component →Pixel ProgressFree
Determinate or indeterminate progress with complete, error and reset states.