Hydration
Hydration: Tall bottle card — count at the top, water level rises inside a simple bottle outline. Tap to log a glass. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Hydration
npx motion-ui-skill add hydrationComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Hydration
Tall bottle card — count at the top, water level rises inside a simple bottle outline. Tap to log a glass.
Install
npx motion-ui-skill add hydration
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { HydrationWidget } from "@/components/widgets/hydration-widget";
export function HydrationWidgetDemo() {
return (
<div className="flex items-center justify-center p-6">
<HydrationWidget />
</div>
);
}
API Reference
HydrationWidget
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |