Tactile 3D Icon
Tactile 3D Icon: Square 3D icon button — pass any icon as children and a required label for accessibility. Same solid / soft / muted materials as ThreeDButton. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Tactile 3D Icon
npx motion-ui-skill add 3d-icon-buttonComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Tactile 3D Icon
Square 3D icon button — pass any icon as children and a required label for accessibility. Same solid / soft / muted materials as ThreeDButton.
Install
npx motion-ui-skill add 3d-icon-button
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { ThreeDIconButton } from "@/components/buttons/three-d-icon-button";
export function ThreeDIconButtonDemo() {
return (
<div className="flex items-center justify-center p-6">
<ThreeDIconButton />
</div>
);
}
API Reference
ThreeDIconButton
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |