About
Interactive event ticket card that breathes: hold it to breathe in, let go to breathe out, tap to re-spray the ink, hover to tilt. Two generated prints, paper engraving and crimson ornament plate, both recolourable. Use for event, invite or pass pages. No fonts, images or dependencies.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Engraved Ticket to your project and fits it to your theme.
Code
How Engraved Ticket is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import EngravedTicket from "@/components/ui/engraved-ticket"
export default function Demo() {
// w-full is load-bearing: 21st centres every demo in a flex wrapper, and a
// flex item left at width:auto shrinks to fit its contents — which, with a
// child asking for 100%, resolves to 0px wide.
return (
<div className="flex w-full flex-col items-center gap-10 bg-[#0b0a0a] px-4 py-16 sm:px-10">
<EngravedTicket variant="paper" />
<EngravedTicket variant="crimson" />
<p className="text-center text-xs uppercase tracking-[0.3em] text-neutral-500">
Hold a ticket to breathe in · let go to breathe out · tap to re-spray
</p>
</div>
)
}
















