Component packs › Washi › Dispenser Button
Tape pulls off the turning roll while your action runs, tears on the serrated blade and sticks the result beside it.
Dispenser Button is a button 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: async action, tear on the blade, torn piece result.
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 |
|---|---|---|---|
label | string | ||
done | string | Written on the torn piece when the action succeeds. | |
failed | string | Written on the torn piece when the action throws. | |
action | () => unknown | Your work: the tape tears when it resolves. | |
pattern | WzPattern | ||
dark | boolean | ||
autoplay | number | false | Showcase mode: presses itself every N ms while visible. |
press(): Promise<void>destroy(): voidimport DispenserButton from './DispenserButton';
<DispenserButton />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.