Dnd Face
Dnd Face: Focus mode as a purple moon mascot — tap to toggle DND and watch the expression shift. Makes a utilitarian setting feel a little human. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Dnd Face
npx motion-ui-skill add dnd-faceComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactreacttailwind-merge
Source files
Dnd Face
Focus mode as a purple moon mascot — tap to toggle DND and watch the expression shift. Makes a utilitarian setting feel a little human.
Install
npx motion-ui-skill add dnd-face
Dependencies
clsxlucide-reactreacttailwind-merge
Usage
"use client";
import { DndFaceWidget } from "@/components/widgets/dnd-face-widget";
export function DndFaceWidgetDemo() {
return (
<div className="flex items-center justify-center p-6">
<DndFaceWidget />
</div>
);
}
API Reference
DndFaceWidget
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |