Liquid Button
A button with a liquid gooey effect on hover.
Installation
Run the following command to install the component:
npx rareui add liquid-buttonThis will install the component to components/rareui/ directory.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
text | string | "Hover me" | The text to display inside the button. |
className | string | - | Additional CSS classes for the container. |
backgroundColor | string | "bg-black dark:bg-white" | Tailwind class for the background color. |
textColor | string | "text-white dark:text-black" | Tailwind class for the text color. |
isDripping | boolean | false | If true, liquid drops will continuously animate without needing hover. |