Skip to content
Image Effects

TornPaperReveal

A kraft sheet pasted over the picture, already ripped at one side with white paper fibres and a curled flap. Drag to tear it across, press to rip it all off, press again to paste a new sheet. A tear never heals.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
srcstring—Picture address.
altstring—Text for screen readers.
labelstring"Open here"Printed on the sheet.
paperstring"#b98d5c"Colour of the sheet.
inkstring"#3b2412"Colour of the ink on the sheet.
startnumber0.17How much is already torn at rest, 0 to 1.
finishnumber0.62Past this much, letting go tears the rest off.
classNamestring"w-96"Set the width here. The piece stays 4 by 3.