Ash Burst Button

Ash Burst Button: Ringed dark button that glows like an ember on click and erupts realistic ash particles using Matter.js physics. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Ash Burst Button

npx motion-ui-skill add ash-burst-button

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • matter-js
  • react
  • react-dom
  • tailwind-merge

Source files

Ash Burst Button

Ringed dark button that glows like an ember on click and erupts realistic ash particles using Matter.js physics.

Install

npx motion-ui-skill add ash-burst-button

Dependencies

  • clsx
  • matter-js
  • react
  • react-dom
  • tailwind-merge

Usage

"use client";

import { AshBurstButton } from "@/components/buttons/ash-burst-button";

export function AshBurstButtonDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <AshBurstButton>Click Me</AshBurstButton>
    </div>
  );
}

API Reference

AshBurstButton

Prop Type Default Required Description
label React.ReactNode — No Button label content
particleCount number 32 No Number of ash particles generated per burst
className string — No Additional CSS classes

Browse this category