ham7a311

Ticket Card

Cards 45

About

An event ticket card with a perforated stub that loosens on hover and tears away with an animation when clicked.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Ticket Card to your project and fits it to your theme.

Code

How Ticket Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { TicketCard } from "@/components/ui/ticket-card";

export default function Demo() {
  return (
    <div className="flex min-h-full w-full items-center justify-center bg-[#0b080d] p-8 [container-type:inline-size]">
      <TicketCard
        event="Northstar Build Summit"
        venue="Harbour Hall · Level 2 · Main Stage"
        date="Sat 24 Oct"
        time="09:00"
        seat={[
          { label: "Row", value: "C" },
          { label: "Seat", value: "14" },
          { label: "Gate", value: "2" },
        ]}
        code="NS-24-0417-C14"
      />
    </div>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    253
  • Route Globe

    Route Globe

    195
  • Glass Tiles

    Glass Tiles

    183
  • Orbit Ring Stats

    Orbit Ring Stats

    82
  • Glyph Swell

    Glyph Swell

    78
  • Fan Deck Card

    Fan Deck Card

    77
  • Ask Bar

    Ask Bar

    63
  • Glass Ribbons

    Glass Ribbons

    53

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.4K
  • Stats cards with links

    Stats cards with links

    46
  • Statistics Card 7

    Statistics Card 7

    342
  • Statistics Card 2

    Statistics Card 2

    322
  • Card Studio

    Card Studio

    37
  • Card

    Card

    65
  • Admin Dashboard Cards

    Admin Dashboard Cards

    44
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    778