Copy Morph
FreeA copy button where the icon outline morphs into a checkmark with a stroke and spring morph. It really copies the text with navigator.clipboard (with a fallback).
Buttons
A button that fires physical confetti: paper pieces that spin in 3D, fall with air drag and flutter.
Free forever
MIT license, for personal and commercial projects. See installation
Made with Furin: Pill Nav · Metal Button · Copy Morph
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | "Celebrate" | Button text. |
count | number | 120 | How many pieces come out. |
colors | string[] | "#ff5470, #ffb84d, #3ddc97, #4da3ff, #a66bff, #ffffff" | Colors of the confetti pieces. |
spread | number | 130 | Opening of the fan, in degrees. |
angle | number | -90 | Central direction of the burst, in degrees (-90 = upward). |
power | number | 1 | Launch strength (1 = normal). |
origin | "pointer" | "center" | "pointer" | Where it comes from: the click point, or the center of the button. |
background | string | "#f4f4f7" | Button background color. |
color | string | "#14151a" | Button text color. |
1Install the package
npm i furin-ui2Import it
import { ConfettiButton } from "furin-ui";Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.
Each file ships its own CSS: there's nothing else to install.
A copy button where the icon outline morphs into a checkmark with a stroke and spring morph. It really copies the text with navigator.clipboard (with a fallback).
Buttons
A button that narrows into a progress bar, advances at an uneven pace like a real network, and ends in a checkmark. With href, it really downloads the file.
Buttons