Fill Button

An outline button that fills with water on hover, a wave rolling on top.

no dependenciesMIT · free

Installation

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

Usage

import { FillButton } from "@/components/fill-button";

<FillButton>Dive in</FillButton>
<FillButton color="#0ea5e9" fillTextColor="#fff">Make waves</FillButton>

Props

PropTypeDefaultDescription
childrenReactNode–Button content.
colorstringyour theme's primary colorWater color.
fillTextColorstringyour theme's primary-foreground colorText color once filled.
classNamestring–