Echo

New

Every click ripples outlines out from the button

$ npx @hritik-sharmaa/repeat-ui add button-echo
Category
Button
Added
Nov 1, 2026
Version
1.0.0
Packages
None
Flavors
TS · JS · Tailwind · CSS
Live preview
Customize
3
16px
0.8s
12px
import ButtonEcho from "@/components/repeat-ui/button-echo/preview";

<ButtonEcho>Click me</ButtonEcho>

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

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

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

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"#fa5f1b"Button and echo colour.-
textColorstring"#ffffff"Text colour.-
echoesnumber3Outlines per click.-
spreadnumber16Distance between echoes, in pixels.-
durationnumber0.8Seconds each echo takes to fade.-
radiusnumber12Corner radius in pixels; the echoes follow it.-
onClick(event: MouseEvent) => void-Click event handler.-
classNamestring""Extra classes for the button.-

More button

See all