Spark Button

Click bursts into particle sparks.

Try it: Click — sparks erupt from the hit point.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/spark-button.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/spark-button. You can also copy the source into components/ui/spark-button.tsx (view on GitHub).

Usage

import { SparkButton } from '@/components/ui/spark-button'

Dependencies

  • motion

See all 24 Buttons components