Bubble

Bubble-like expansion with bounce effect

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

<ButtonBubble>Hover me!</ButtonBubble>

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-bubble --variant ts-tailwind
  2. Use it

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

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

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"#2563eb"Background colour.-
textColorstring"#ffffff"Text colour.-
countnumber10Bubbles per hover.-
rainbowbooleantrueGive every bubble a random colour.-
bubbleColorstring"#60a5fa"Bubble colour when rainbow is off.-
onClick(event: MouseEvent) => void-Click event handler.-
classNamestring""Extra classes for the button.-

More button

See all