Pulse

Rhythmic pulsing animation on hover

$ npx @hritik-sharmaa/repeat-ui add button-pulse
Category
Button
Added
Aug 14, 2025
Version
2.0.0
Packages
None
Flavors
TS · JS · Tailwind · CSS
Live preview
Customize
1.5s
import ButtonPulse from "@/components/repeat-ui/button-pulse/preview";

<ButtonPulse>Pulse</ButtonPulse>

Installation

  1. Run the command

    Adds the files and installs any packages they need. Works with npm, pnpm, yarn and bun.

    $ npx @hritik-sharmaa/repeat-ui add button-pulse --variant ts-tailwind
  2. Use it

    The files are in components/repeat-ui/button-pulse/.

    import ButtonPulse from "@/components/repeat-ui/button-pulse/preview";
    
    export default function Page() {
      return <ButtonPulse />;
    }

Props

PropTypeDefaultDescriptionOptions
childrenReactNode-The button label.-
size"sm" | "md" | "lg""md"Height, padding and font size. Every Repeat UI button shares this scale.sm | md | lg
colorstring"#00ff88"Glow colour.-
backgroundstring"#18181b"Background colour.-
textColorstring"#fafafa"Text colour.-
speednumber1.5Seconds per pulse.-
onClick(event: MouseEvent) => void-Click event handler.-
classNamestring""Extra classes for the button.-

More button

See all