jay sharma

Logo Burst

Backgrounds 36

About

Hair-line tentacles explode from the center, then keep a slow inhale. Follows light and dark.

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

Code

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

Usage.tsx

"use client"

import { LogoBurst } from "@/components/ui/logo-burst"

const settings = {
  color: "#D6D2CA",
  tentacleCount: 260,
  radius: 0.48,
  duration: 1.35,
  particleRatio: 0.62,
  breathe: true,
  replayOnClick: true,
}

// The stock filament for dark (#D6D2CA) and light (#3F3F46) pages. Either
// one means "follow the theme", so the burst swaps with light and dark mode.
const STOCK_COLORS = ["#D6D2CA", "#3F3F46"]

export default function LogoBurstDemo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props }
  const autoColor = STOCK_COLORS.includes(s.color.trim().toUpperCase())

  return (
    <div className="flex min-h-[520px] w-full items-center justify-center bg-background p-4">
      <div className="relative h-[520px] w-full overflow-hidden rounded-xl bg-background">
        <LogoBurst
          color={autoColor ? undefined : s.color}
          tentacleCount={s.tentacleCount}
          radius={s.radius}
          duration={s.duration}
          particleRatio={s.particleRatio}
          breathe={s.breathe}
          replayOnClick={s.replayOnClick}
          // Replays the explosion whenever the duration changes.
          replayKey={s.duration}
          theme="auto"
        />
        {s.replayOnClick ? (
          <p className="pointer-events-none absolute inset-x-0 bottom-4 text-center text-xs text-muted-foreground">
            Click to replay
          </p>
        ) : null}
      </div>
    </div>
  )
}

More by jay sharma

View all
  • Live Orb

    Live Orb

    216
  • Chrome Button

    Chrome Button

    182
  • Frame Button

    Frame Button

    132
  • Highlight Button

    Highlight Button

    76
  • ASCII Fluid

    ASCII Fluid

    73
  • Motion Button

    Motion Button

    59
  • Brutal Button

    Brutal Button

    56
  • Grid Button

    Grid Button

    49

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    811
  • Gradient Backgrounds

    Gradient Backgrounds

    25
  • Jade Sky

    Jade Sky

    85
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    221
  • Gradient Blur Bg

    Gradient Blur Bg

    34
  • Background snippets

    Background snippets

    16
  • Background Components

    Background Components

    233
  • LivingOrigami bg

    LivingOrigami bg

    134