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
Made with Furin: Pill Nav · Metal Button · Copy Morph
Props
| Prop | Type | Default | Description |
|---|---|---|---|
count | number | 140 | How many embers there are at once. |
speed | number | 1 | Speed of the rise and the flicker; 0 freezes them. |
wind | number | 1 | How strongly the cursor pushes the embers; 0 turns the wind off. |
drift | number | 14 | Constant sideways breeze, in px per second. |
size | number | 1 | Size of the embers; 1 is normal. |
glow | number | 0.6 | Intensity of the heat glow at the bottom. |
hotColor | string | "#FFD05A" | Color of a newborn ember, the hottest. |
midColor | string | "#FF4A1C" | Color of an ember at mid-life. |
ashColor | string | "#7A625C" | Color of the ash an ember fades into. |
className | string | "" | Extra class for the container. |
style | CSSProperties | undefined | Extra styles for the container. |
children | ReactNode | undefined | Content 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 license2Install Embers
npx shadcn@latest add @furin-pro/ embersDependencies
- 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
Heat Haze
ProDesert 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
Iron Filings
ProThousands 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