232
A kraft envelope that pops its wax seal, swings the flap open and lets a letter spring up – then tucks it back in and reseals itself.
akamail·letter·invite
Run this in any project set up for the shadcn CLI. It copies the Envelope source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/envelope.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { Envelope } from "@/components/envelope";
export default function Page() {
return <Envelope />;
}A free React illustration in the Objects collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Envelope source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| hue | EnvelopeHue | "rose" |
| title | string | "You're invited" |
| message | string | "Join us for the Northwind launch on Friday, 6 pm, at the old boathouse." |
| from | string | "— Ines & the team" |
| monogram | string | "N" |
| autoPlay | boolean | true |
| className | string | — |