Skip to content

Ember Dissolve

Pro

Burn a picture away from its lower edge. A glowing line climbs the image, and the burned part rises as sparks.

  • React 19
  • Tailwind CSS 4

Added Nov 18, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Ember Dissolve needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
33
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Burn the photo when the viewer closes it.

The sample also uses Button. One command adds them with this item:

one-time-photo.tsx

EmberDissolve

<div>
PropTypeDefaultDescription
srcstring—The picture URL. Give src or source.
source—A picture the page already has: an <img>, a <canvas>, an ImageBitmap, or an OffscreenCanvas.
altRequiredstring—Names the picture for screen readers while it shows.
crossOrigin"""anonymous""use-credentials"—The CORS mode of a picture on another origin: the grains read its pixels.
fit"contain""cover"—How the picture fills the box, as object-fit. Default cover.
grainSizenumber—The side of one grain in CSS px. A very large box raises it, so the effect stays smooth.
dissolvedboolean—The picture is gone (controlled). true takes it apart; false brings it back.
restore"instant""play"—How the picture comes back: play runs the effect backward, instant shows it at once. Default play.
progressnumber—From 0 (whole) to 1 (gone): a gesture drives the effect and no clock runs. Leave it out to play.
seednumber—The same seed gives the same motion. Default: from the picture URL.
onDissolveEnd—Called when the last grain has left (or the fade has ended).
onRestoreEnd—Called when the picture is whole again after a played return.
originGrainOrigin—Where the effect starts. press is the last press in the picture.
spreadnumber—From 0 to 0.85: how much of the effect passes between the first grain that leaves and the last.
jitternumber—From 0 to 0.85: how much of each grain's start is random.
durationnumber—How long the burn takes to cross the picture, in ms. Default 2600.
windnumber—How high the sparks rise. Default 1.
turbulencenumber—From 0 to 1: how much the sparks sway. Default 0.5.
heatstring—The color of the burning edge, any CSS color. Default oklch(0.82 0.18 65).
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Use it for one-time photos, secrets, and other content that does not come back.
  • Set heat to a brand color for a cold or a chemical burn.
  • Lower wind to keep the sparks near the picture in a tight layout.
Burn
heatPrint · 2.6s · a wavering hot line climbs, and each spark cools as it rises
Back
heatPrint · 2.6s · the sparks fall back and the line runs down
  1. AddedEmber Dissolve.
Open the release