Component packs › Washi › Taped Photo Card

Taped Photo Card

Peel one strip and the print swings down on the other like a pendulum; press it back and it sticks flat.

Taped Photo Card is a card from Washi, a component pack with 6 tape components: Controls made of washi tape: torn ends, printed patterns, strips that unroll, stick, peel and rip. Price: $2 for the whole pack.

Built with: pendulum spring, tape curls back, real photo print.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Taped Photo Card props

PropTypeDefaultDescription
srcstringa sunset over Porto (Unsplash)Photo URL. Default: a sunset over Porto (Unsplash).
altstring
captionstring
peeledbooleanStart with the left tape peeled.
patternWzPattern
widthnumber280Print width in px. Default 280.
darkboolean
onChange(peeled: boolean) => void
autoplaynumber | falseShowcase mode: peels and presses the tape every N ms while visible.

Methods on the ref

Use it in React

import TapedPhoto from './TapedPhoto';

<TapedPhoto />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Washi

Good for: Skeuomorphic UI.