Aqua Button
Aqua Button: Glossy pill button inspired by Apple classic Aqua interface, with layered highlights and soft inner glow. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Aqua Button
npx motion-ui-skill add aqua-buttonComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Aqua Button
Glossy pill button inspired by Apple classic Aqua interface, with layered highlights and soft inner glow.
Install
npx motion-ui-skill add aqua-button
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { AquaButton } from "@/components/buttons/aqua-button";
export function AquaButtonDemo() {
return (
<div className="flex items-center justify-center p-6">
<AquaButton>Click Me</AquaButton>
</div>
);
}
API Reference
AquaButton
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
variant |
`"primary" | "secondary"` | "primary" | No |
className |
string |
— | No | Additional CSS classes |
children |
React.ReactNode |
— | No | Button label or icon content |