Depth Outline
Depth Outline: Premium outline button with layered float depth, a soft top lip, and a press-in sink — secondary CTA that still feels tactile. Pass any children. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Depth Outline
npx motion-ui-skill add depth-outline-buttonComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Depth Outline
Premium outline button with layered float depth, a soft top lip, and a press-in sink — secondary CTA that still feels tactile. Pass any children.
Install
npx motion-ui-skill add depth-outline-button
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { DepthOutlineButton } from "@/components/buttons/depth-outline-button";
export function DepthOutlineButtonDemo() {
return (
<div className="flex items-center justify-center p-6">
<DepthOutlineButton />
</div>
);
}
API Reference
DepthOutlineButton
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |