Components
A full-screen React component that renders a generative fractal shader using p5.js with a custom noise texture. Supports light/dark themes, responsive resizing, and honors the user’s reduced-motion preference.
npx @21st-dev/cli add dhileepkumargm/fractal-shader-backgroundLoading preview...
import React from 'react';
import ShaderBackground from '@/components/ui/fractal-shader-background';
export default function DemoOne() {
return (
<div className="app-container" data-theme="dark">
<ShaderBackground />
</div>
);
}