Ali Imam

Shader Lines

Heroes 2.5K

About

The component dynamically loads Three.js, sets up the WebGL renderer with your custom shaders, and creates the colorful mosaic effect with animated lines.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Shader Lines to your project and fits it to your theme.

Code

How Shader Lines is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { 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>
  )
}

More by Ali Imam

View all
  • Liquid Glass Button

    Liquid Glass Button

    7.3K
  • Shader Animation

    Shader Animation

    3.9K
  • WebGL Shader

    WebGL Shader

    2.8K
  • Shiny Button

    Shiny Button

    2.5K
  • GLSL Hills

    GLSL Hills

    2.2K
  • Canvas

    Canvas

    1.8K
  • Gallery

    Gallery

    1.6K
  • Glowing Shadow

    Glowing Shadow

    1.5K

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • SaaS Template

    SaaS Template

    2.8K
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    31
  • Real Estate 3D Hero

    Real Estate 3D Hero

    77
  • Hero

    Hero

    1.4K
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • Editorial Collage Hero

    Editorial Collage Hero

    527
  • Modren and Stunning Hero section

    Modren and Stunning Hero section

    183