Skip to content

Ripple Button

A button whose ripple is born exactly where you click: a luminous wavefront with rings that sweeps out to the farthest corner.

Plan
Free · MIT
Dependencies
React only
Props
8 (7 adjustable)

Free forever

MIT license, for personal and commercial projects. See installation

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
childrenReactNode"Continue"Button label.
colorstring"#3b4cf0"Button color.
rippleColorstring"#ffffff"Color of the ripple.
textColorstring"#ffffff"Text color.
durationnumber900Milliseconds the ripple lasts.
ringsnumber2Number of rings in the ripple (1 to 3).
radiusnumber16Corner radius, in px.
heightnumber56Button height, in px.

Installation

Install it

1Install the package

npm i furin-ui

2Import it

import { RippleButton } from "furin-ui";

Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.

Dependencies

React
18 or later
Other libraries
none
License
MIT

Each file ships its own CSS: there's nothing else to install.

Keep exploring

  • A physics-driven handle you drag to the end to confirm; release early and it springs back with a bounce. Accessible as a slider.

    Buttons

  • A 3D mechanical keycap with sloped walls, matte plastic and backlight; it presses down with a bounce and can click.

    Buttons

  • A button that fills with liquid from the exact point where the cursor enters, with a meniscus edge and light bubbles, and drains toward where it leaves.

    Buttons