Skip to content

Embers

Embers that rise, flicker and shift color as they cool, and drift with the movement of the cursor.

Plan
Pro · commercial license
Dependencies
React only
Props
12 (9 adjustable)

Included in Pro and Lifetime. See pricing

Blow with the cursor

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

Props

PropTypeDefaultDescription
countnumber140How many embers there are at once.
speednumber1Speed of the rise and the flicker; 0 freezes them.
windnumber1How strongly the cursor pushes the embers; 0 turns the wind off.
driftnumber14Constant sideways breeze, in px per second.
sizenumber1Size of the embers; 1 is normal.
glownumber0.6Intensity of the heat glow at the bottom.
hotColorstring"#FFD05A"Color of a newborn ember, the hottest.
midColorstring"#FF4A1C"Color of an ember at mid-life.
ashColorstring"#7A625C"Color of the ash an ember fades into.
classNamestring""Extra class for the container.
styleCSSPropertiesundefinedExtra styles for the container.
childrenReactNodeundefinedContent drawn on top of the embers, 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 Embers

npx shadcn@latest add @furin-pro/embers

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

  • Fireworks with trails and sparks.

    Backgrounds

  • 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