Approve stamp (Pro)
ProIncluded in $99Approval with weight: a stamp falls onto the card, lands a little crooked as the card dips, and its ink spreads with real grain.
On this page
ProApprove the refund and a stamp comes down on the card: it falls, lands a little crooked, the card dips and the ink spreads with real grain.
Wrap the thing being approved. When it is approved a stamp comes down on it: it falls from above, accelerating as a hand would, lands slightly oversized and settles, the card gives a little under the hit, and the ink spreads out from the centre with the uneven grain of a rubber stamp. Declined lands the same way in red. A note line under the word records who and when.
Installation
Needs chatcn Pro
This command works with a Pro license, along with every Pro component.
Or start free: sign up and get three Pro components on us, with a new one every month.
Usage
import { ApproveStamp } from "@/components/ui/chatcn/pro/approve-stamp"
<ApproveStamp status={decision} note="Ines, 14:02">
<RefundCard />
</ApproveStamp>Props
| Prop | Type | Notes |
|---|---|---|
status | "pending" | "approved" | "declined" | |
labels | { approved?, declined? } | Words on the stamp |
note | string | A short line under the word |
align | "start" | "center" | "end" | Where it lands. Default end |
Accessibility
- The decision is announced in words through a status region; the stamp itself is decorative.
Motion
- The fall accelerates into the paper (the one ease in in the kit, because it is gravity), then lands with a small settle: 460 ms.
- The grain is an SVG turbulence mask; the ink spread is a growing circle mask. Reduced motion: the stamp fades in.