Component packs › Washi › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
src | string | a sunset over Porto (Unsplash) | Photo URL. Default: a sunset over Porto (Unsplash). |
alt | string | ||
caption | string | ||
peeled | boolean | Start with the left tape peeled. | |
pattern | WzPattern | ||
width | number | 280 | Print width in px. Default 280. |
dark | boolean | ||
onChange | (peeled: boolean) => void | ||
autoplay | number | false | Showcase mode: peels and presses the tape every N ms while visible. |
readonly peeled: booleansetPeeled(peeled: boolean): voiddestroy(): voidimport TapedPhoto from './TapedPhoto';
<TapedPhoto />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.