Ali Imam

Animated Grid

Heroes 125

About

The component features a customizable grid with color interpolation and staggered border-radius animations. You can adjust the grid size, cell dimensions, and animation timing through props, making it flexible for different use cases.

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

Code

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

Usage.tsx

import { AnimatedGrid } from "@/components/ui/animated-grid";

export default function DemoOne() {
  return (
    <div className= "relative flex h-screen w-full flex-col items-center justify-center overflow-hidden rounded-xl" >

<AnimatedGrid 
  startColor={[255, 0, 0]} 
  endColor={[255, 0, 255]} 
  animationStartColor={[255, 0, 0]} 
  animationEndColor={[255, 0, 255]} 
  rows={10} 
  cols={15} 
  cellSize="6rem" 
  animationDuration="2s"  
/>


      <span className="pointer-events-none absolute z-10 text-center text-7xl leading-none font-semibold tracking-tighter whitespace-pre-wrap" >
        Animated Grid
          < /span>
          < /div>
  )
}

More by Ali Imam

View all
  • Liquid Glass Button

    Liquid Glass Button

    6.7K
  • Shader Animation

    Shader Animation

    3.7K
  • WebGL Shader

    WebGL Shader

    2.6K
  • Shader Lines

    Shader Lines

    2.3K
  • Shiny Button

    Shiny Button

    2.2K
  • GLSL Hills

    GLSL Hills

    2.1K
  • Canvas

    Canvas

    1.8K
  • Gallery

    Gallery

    1.5K

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.4K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    953
  • Editorial Collage Hero

    Editorial Collage Hero

    451
  • Hero

    Hero

    1.3K
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    291
  • Aero Hero-3

    Aero Hero-3

    567
  • Hero Section with Responsive Navigation

    Hero Section with Responsive Navigation

    37