Component packs › Paper › Rubber Stamp

Rubber Stamp

A rubber stamp drops onto the document, squashes and lifts, leaving a rough impression whose ink darkens as it settles.

Rubber Stamp is an action from Paper, a component pack with 7 components: Components that behave like real paper. Price: $2 for the whole pack.

Built with: drop and squash, rough ink filter, undo.

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.

Rubber Stamp props

PropTypeDefaultDescription
titlestring
metastring
rowsStampRow[]
totalstring
autoplaybooleanShowcase mode: approves, declines and undoes by itself until touched.
onDecide(d: 'approved' | 'declined' | null) => void

Methods on the ref

Use it in React

import RubberStamp from './RubberStamp';

<RubberStamp />

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

More in Paper

Good for: Micro-interactions.