Skip to content

Hanabi

Fireworks with trails, sparks and flashes. They launch on their own and also with every click or tap.

Plan
Pro · commercial license
Dependencies
React only
Props
8 (5 adjustable)

Included in Pro and Lifetime. See pricing

Click anywhere

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
frequencynumber0.9Automatic launches per second; 0 turns them off, leaving only clicks.
colorsstring[] | string"#FF5A4F, #FFC24A, #6FE3FF, #FF8FC7, #C4A8FF"Colors of the bursts, as a list or as a comma-separated string.
gravitynumber1Gravity on the sparks; 0 lets them float.
sizenumber1Size of the bursts; 1 is normal.
launchOnClickbooleantrueA click or tap launches a rocket that bursts at that point.
classNamestring""Extra class for the container.
styleCSSPropertiesundefinedExtra styles for the container.
childrenReactNodeundefinedContent drawn on top of the fireworks, centered.

Installation

With your license

1Set up the Pro registry once

Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.

Use my license

2Install Hanabi

npx shadcn@latest add @furin-pro/hanabi

Dependencies

React
18 or later
Other libraries
none
License
commercial

Pro components install into your project: the code is yours and there's nothing else to download.

Keep exploring

  • Desert heat shimmer at sunset: a road with a trembling mirage puddle, a low sun that wavers, and children that bend like the air over hot asphalt.

    Backgrounds

  • Thousands of steel filings align to the field of a real magnet (a dipole) that follows the cursor: field lines between poles, anisotropic shine, a bounce when it moves, and a 180° flip on click.

    Backgrounds

  • Analog film light leaks that float over your content in screen mode, with 12-frame flicker, edge streaks, dust and scratches.

    Backgrounds