Dillion Verma

Cool Mode

Buttons 47

About

Cool mode effect for buttons, links, and other DOMs

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

Code

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

Usage.tsx

import { Button } from "@/components/ui/button"
import { CoolMode } from "@/components/ui/cool-mode"

function CoolModeDemo() {
  return (
    <div className="relative justify-center">
      <CoolMode>
        <Button>Click Me!</Button>
      </CoolMode>
    </div>
  )
}

function CoolModeCustom() {
  return (
    <div className="relative justify-center">
      <CoolMode
        options={{
          particle:
            "https://cdn.21st.dev/assets/mirror/61/61c1c4cb5120e0dc5a2c14c5bc8bfa91d9ba47651e37c5377c8ad9b1a284d05b.png",
        }}
      >
        <Button>Click Me!</Button>
      </CoolMode>
    </div>
  )
}

export default {
  CoolModeDemo,
  CoolModeCustom,
}

More by Dillion Verma

View all
  • Interactive Hover Button

    Interactive Hover Button

    3.8K
  • Rainbow Button

    Rainbow Button

    2.6K
  • Globe

    Globe

    2.4K
  • Animated Beam

    Animated Beam

    2.1K
  • Text Reveal

    Text Reveal

    1.7K
  • Confetti

    Confetti

    1.3K
  • Sparkles Text

    Sparkles Text

    1.2K
  • Interactive Icon Cloud

    Interactive Icon Cloud

    1.1K

More in Buttons

View all
  • Texture Button

    Texture Button

    122
  • Button

    Button

    172
  • HeroUI Button Group

    HeroUI Button Group

    1
  • Button

    Button

    88
  • Native Button

    Native Button

    7
  • Button

    Button

    74
  • Button Group

    Button Group

    5
  • Button

    Button

    21