Splash Button

A button that bursts into droplets that arc out and fall with gravity.

no dependenciesMIT · free

Installation

npx shadcn@latest add https://ombakui.com/r/splash-button.json

Usage

import { SplashButton } from "@/components/splash-button";

<SplashButton onClick={subscribe}>Subscribe</SplashButton>

Props

PropTypeDefaultDescription
colorsstring[]ocean bluesDroplet colors.
countnumber16Droplets per click.
spreadnumber90How far droplets fly, in px.
childrenReactNode–Button content.
classNamestring–