Demonic Button
Demonic Button: Hold-to-summon button that raises devil horns from behind while an interactive canvas fire builds into a roar. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Demonic Button
npx motion-ui-skill add demonic-buttonComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Demonic Button
Hold-to-summon button that raises devil horns from behind while an interactive canvas fire builds into a roar.
Install
npx motion-ui-skill add demonic-button
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { DemonicButton } from "@/components/buttons/demonic-button";
export function DemonicButtonDemo() {
return (
<div className="flex items-center justify-center p-6">
<DemonicButton>Click Me</DemonicButton>
</div>
);
}
API Reference
DemonicButton
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
holdDurationMs |
number |
2000 | No | Required hold time to complete summon |
className |
string |
— | No | Additional CSS classes |
children |
React.ReactNode |
— | No | Button label content |