Components
Loading preview...
The component dynamically loads Three.js, sets up the WebGL renderer with your custom shaders, and creates the colorful mosaic effect with animated lines.
npx shadcn@latest add https://21st.dev/r/designali-in/shader-linesimport { ShaderAnimation } from "@/components/ui/shader-lines";
export default function DemoOne() {
return (
<div className="relative flex h-[650px] w-full flex-col items-center justify-center overflow-hidden rounded-xl">
<ShaderAnimation/>
<span className="pointer-events-none z-10 text-center text-7xl leading-none font-semibold tracking-tighter whitespace-pre-wrap text-white">
Shader Lines
</span>
</div>
)
}