Component packs › Washi › Torn Tape Toast

Torn Tape Toast

The message is a strip of tape pulled out and pressed down; when it goes it rips in two along a jagged tear.

Torn Tape Toast is a toast 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: jagged tear in two halves, unroll and press, polite live region.

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.

Torn Tape Toast props

PropTypeDefaultDescription
messagestringShown on mount. Leave empty to start hidden.
durationnumber3600Milliseconds before it tears itself off. 0 keeps it until dismissed. Default 3600.
patternWzPattern
widthnumber360Width of the area the toast sits in, px. Default 360.
darkboolean
onDismiss() => void
autoplaynumber | falseShowcase mode: shows a sample message every N ms while visible.

Methods on the ref

Use it in React

import TapeToast from './TapeToast';

<TapeToast />

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

More in Washi

Good for: Skeuomorphic UI.