Dither Button
Dither Button: High-contrast button with an animated 4x4 ordered-dither wave background and knockout typography. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Dither Button
npx motion-ui-skill add dither-buttonComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Dither Button
High-contrast button with an animated 4x4 ordered-dither wave background and knockout typography.
Install
npx motion-ui-skill add dither-button
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { DitherButton } from "@/components/buttons/dither-button";
export function DitherButtonDemo() {
return (
<div className="flex items-center justify-center p-6">
<DitherButton>Click Me</DitherButton>
</div>
);
}
API Reference
DitherButton
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |
children |
React.ReactNode |
— | No | Button label content |