ai 2

Ripple Buttons

Buttons 31

About

A set of five click-triggered button variants (ripple, echo, sonar, ping, flash) that animate a wave or ring from the pointer position, respecting reduced-motion preferences.

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

Code

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

Usage.tsx

"use client";

import {
  RippleButton,
  EchoButton,
  SonarButton,
  PingButton,
  FlashButton,
} from "@/components/ui/buttons-ripple";

export default function ButtonsRippleDemo() {
  return (
    <div className="flex min-h-screen w-full flex-wrap items-center justify-center gap-4 bg-background p-8">
      <RippleButton>Ripple</RippleButton>
      <EchoButton>Echo</EchoButton>
      <SonarButton>Sonar</SonarButton>
      <PingButton>Ping</PingButton>
      <FlashButton>Flash</FlashButton>
    </div>
  );
}

Dependencies

More by ai 2

View all
  • Styled Toggle Switches

    Styled Toggle Switches

    14
  • Styled Progress Bars

    Styled Progress Bars

    14
  • Styled Badges

    Styled Badges

    10
  • OTP Pin Input

    OTP Pin Input

    8
  • Particle Toggles

    Particle Toggles

    7
  • Input Group Glass

    Input Group Glass

    6
  • File Input

    File Input

    6
  • Combo Kbd

    Combo Kbd

    6

More in Buttons

View all
  • Button Save

    Button Save

    46
  • Button

    Button

    20
  • Eclipse Button

    Eclipse Button

    5
  • Button

    Button

    32
  • Button

    Button

    6
  • Button

    Button

    14
  • Button Group

    Button Group

    37
  • Split Button

    Split Button

    32