Skip to content
ProMotionWebGL

Paper Burn

Click and the paper burns from that point: a ragged glowing edge, embers creeping across the char, scorched paper, orange light on what's underneath, and ash, sparks and burning scraps flying off. WebGL with noise; it can be reset.

Plan
Pro · commercial license
Dependencies
React only
Props
15 (11 adjustable)

Included in Pro and Lifetime. See pricing

UnderneathReborn
in light
Burn me. Click anywhere on the paper

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

Props

PropTypeDefaultDescription
childrenstring"Burn me"Title printed on the paper.
captionstring"Click anywhere on the paper"Small text below the title.
labelstring"Unopened"Red stamp in a corner of the paper (empty = no stamp).
revealReactNode"sample scene"What lies under the paper and is revealed when it burns.
sample{ label?: string; title?: string }"sample texts"Texts of the sample scene: label and title (use \n for a line break; only visible if you omit reveal).
headerstring"LETTER · 001 / 001"Small line printed at the top left of the paper (empty = none).
paperstring"#efe8d6"Paper color.
inkstring"#17120d"Ink color.
durationnumber2800How long the fire takes to cross the paper, in ms.
autoBurnnumber0Ignites by itself at a random point after this many ms if nobody touches it (0 = off).
autoResetnumber0After burning, the paper restores itself after this many ms (0 = waits for the Reset button).
soundbooleanfalseSynthesized crackling; only plays after the click that lights it.
onBurn() => void""Called when the paper finishes burning.
onReset() => void""Called when the paper is restored.
resetLabelstring"Reset"Text of the button that restores the paper.

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 Paper Burn

npx shadcn@latest add @furin-pro/paper-burn

Dependencies

React
18 or later
WebGL
in the browser
Other libraries
none
License
commercial

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

Keep exploring

  • A rubber card: a soft four-cornered body on springs. The corner you grab follows the pointer, the far ones lag and stretch; on release it whips back with bounces. The rubber lightens where it stretches.

    Motion

  • Text that shoots in like a whiplash: directional motion blur, a trail of copies, anime-style speed lines and a camera shake as it slams to a stop.

    Motion

  • A loading indicator: a metal spinning top (shader with studio reflections, turned finish, knurled ring and anodized stripes) with the real physics of a heavy top: it precesses, nutates, slows by friction, wobbles and gets wound up again. Click to wind it.

    Motion