Ticket Tear
A paper ticket with a perforation: drag the stub and it tears from top to bottom, with a fibrous edge and a shadow that grows as it peels away.
- Plan
- Free · MIT
- Dependencies
- React only
- Props
- 12 (11 adjustable)
Free forever
MIT license, for personal and commercial projects. See installation
Furin Live
Saturday, October 3 · 8:00 PM
North Forum · Mexico City
Furin Live
Saturday, October 3 · 8:00 PM
North Forum · Mexico City
Furin Live
Saturday, October 3 · 8:00 PM
North Forum · Mexico City
Made with Furin: Pill Nav · Metal Button · Copy Morph
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | "Furin Live" | Large title of the ticket. |
subtitle | string | "Saturday, October 3 · 8:00 PM" | Date and time, below the title. |
place | string | "North Forum · Mexico City" | Venue of the event. |
seat | { section: string; row: string; seat: string } | "A · 12 · 08" | Section, row and seat (sample data). |
sectionLabel | string | "Section" | Label of the section field. |
rowLabel | string | "Row" | Label of the row field. |
seatLabel | string | "Seat" | Label of the seat field. |
stubLabel | string | "STUB · 0482" | Vertical text printed on the stub. |
accent | string | "#ff5a36" | Accent color of the ticket and the stub. |
paperColor | string | "#f5f0e5" | Paper color. |
scale | number | 1 | Scale of the whole ticket. |
autoReset | boolean | true | Once the stub is torn off, the ticket rebuilds itself after a few seconds. |
Installation
Install it
1Install the package
npm i furin-ui2Import it
import { TicketTear } from "furin-ui";Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.
Dependencies
- React
- 18 or later
- Other libraries
- none
- License
- MIT
Each file ships its own CSS: there's nothing else to install.
Keep exploring
A 3D brushed-metal card with a gold chip, embossed numbers and a hologram. It tilts with the cursor and flips on click.
Cards
An instant photo that drops in and develops gradually, with film grain; a click shakes it and develops it again.
Cards