jay sharma

Shader Anime Fire

Heroes 6

About

Cel-shaded WebGL flames for landing heroes: tongues lick up from the bottom in flat bands of heat, and the fire reaches for the pointer.

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

Code

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

Usage.tsx

"use client"

import { ShaderAnimeFire } from "@/components/ui/shader-anime-fire"

const settings = {
  colors: ["#B4200A", "#FF6512", "#FFC04A"],
  speed: 0.6,
  intensity: 1,
  height: 0.45,
  interactive: true,
  dither: false,
}

// Unchanged colors are left unset so the component picks its own light/dark palette.
function sameColors(a: string[], b: string[]) {
  return a.length === b.length && a.every((c, i) => c.toLowerCase() === b[i]!.toLowerCase())
}

export default function ShaderAnimeFireDemo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props }

  return (
    <div className="flex min-h-[520px] w-full items-center justify-center bg-background p-4">
      <div className="relative h-[480px] w-full max-w-4xl overflow-hidden rounded-xl border border-border bg-background">
        <ShaderAnimeFire
          className="absolute inset-0"
          colors={sameColors(s.colors, settings.colors) ? undefined : s.colors}
          speed={s.speed}
          intensity={s.intensity}
          height={s.height}
          interactive={s.interactive}
          dither={s.dither}
        />
      </div>
    </div>
  )
}

More by jay sharma

View all
  • Live Orb

    Live Orb

    693
  • Chrome Button

    Chrome Button

    190
  • Shader Metal

    Shader Metal

    175
  • Frame Button

    Frame Button

    139
  • ASCII Fluid

    ASCII Fluid

    95
  • Highlight Button

    Highlight Button

    88
  • Brutal Button

    Brutal Button

    76
  • Logo Burst

    Logo Burst

    73

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Editorial Collage Hero

    Editorial Collage Hero

    507
  • Hero Section

    Hero Section

    445
  • Aero Hero-3

    Aero Hero-3

    618
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    442