Tide Text

Outlined display text with water inside that rises on hover.

no dependenciesMIT · free

Hover to fill it up.

Installation

npx shadcn@latest add https://ombakui.com/r/tide-text.json

Usage

import { TideText } from "@/components/tide-text";

<TideText text="OMBAK" level={55} className="text-9xl" />

Props

PropTypeDefaultDescription
text*string–The text (best with big, bold display type).
asElementType"span"HTML tag to render.
levelnumber55Water level from 0 to 100.
colorstringyour theme's primary colorWater color.
fillOnHoverbooleantrueRaise the water to the top on hover.
classNamestring–