Next-Gen FX & Generative Shaders.
Hardware-accelerated WebGL2 shaders, 60 FPS Verlet particle physics, and retro luminance algorithms designed with zero token violations and seamless theme synchronization.
60 FPS Verlet Physics
Sub-frame particle integration with velocity damping, cursor repulsion, and harmonic spring return.
Two-Tier Token Sync
Automatically extracts and syncs with CSS variables in light and dark modes with zero raw hex hardcoding.
Zero Layout Thrashing
GPU shaders and Canvas 2D particle buffers with IntersectionObserver pause loops when scrolled offscreen.
Retina DPR Scaling
Pixel-perfect high-density rendering with automatic aspect-ratio lock and responsive container resizing.
A React component, not a setup project
Import an effect, give it a size, and it follows your theme tokens. Props tune the look; there is nothing to configure outside your JSX. Works with Next.js, Vite and Remix, and frame by frame in Remotion.
import { StippleText, FluidSilk } from "@shavin/fx";
export function CreativeHero() {
return (
<div className="relative h-96 w-full rounded-[var(--radius-panel)] overflow-hidden bg-canvas">
{/* GPU Fluid Fabric Background */}
<FluidSilk speed={0.3} waveFrequency={2.0} className="absolute inset-0 opacity-40" />
{/* Interactive 60 FPS Particle Headline */}
<StippleText
text="SHAVIN.FX"
fontSize={96}
pattern="grid"
color="accent"
interactive={true}
className="relative z-10 w-full h-full"
/>
</div>
);
}Ready to elevate your creative canvas? Try all primitives live
Jump directly into the documentation sandbox with natural trackpad zoom, spacebar panning, and instant JSX export.