# Stamp and seal

A rubber-stamp impression in ink for statuses, and an embossed seal for the moment something becomes official.

- Category: Marks
- Docs: https://bevel-ui.vercel.app/components/stamp
- Import from: `@/components/ui/stamp`

## Install

```bash
npx shadcn@latest add @bevel/stamp
```

npm dependencies (installed by the CLI): `cn`.

## Anatomy

```tsx
<Stamp tone="red">
  Received
  <StampDetail>17 Oct</StampDetail>
</Stamp>

<Seal text="Credits verified">Paid</Seal>
```

## Parts

| Part | Renders | Description |
| --- | --- | --- |
| `Stamp` | span | Inked text that soaks into the surface. tone (red, blue, green, black), shape (rect, round), animate to land with a press. |
| `StampDetail` | span | A smaller second line: a date or reference. |
| `Seal` | span (img) | Raised relief with text round the rim and a short centre mark. Has an accessible name. |

## Example: Statuses

Stamps replace badges: Received, Refunded, Held, Auto. The seal marks something verified.

```tsx
import { Seal, Stamp, StampDetail } from "@/components/ui/stamp"

export function StampMarks() {
  return (
    <div className="bevel-paper flex flex-wrap items-center justify-center gap-6 rounded-(--bevel-radius-xs) p-8">
      <Stamp>
        Received
        <StampDetail>17 Oct 2026</StampDetail>
      </Stamp>
      <Stamp tone="blue">Refunded</Stamp>
      <Stamp tone="black">Held</Stamp>
      <Stamp tone="green" shape="round">
        Auto
      </Stamp>
      <Seal text="Bevel · Credits verified ·">Paid</Seal>
    </div>
  )
}
```
