Tour Dates
ProNewUpcoming shows with the date as a block, the city, the venue and one action per row: tickets, few left, free entry, or sold out with a waitlist.
Installation
pnpm dlx shadcn@latest add @viewport/tour-dates
First time? Add the @viewport registry to components.json. Setup takes one minute.
Usage
The code behind the preview above comes with Truffle Pro.
Props
| Prop | Type | Default |
|---|---|---|
| dates* | TourDate[] | — |
Accessibility
- Dates are time elements with a machine-readable value.
- Each link names its city and date.
- Sold out and few left are written out.
- Rows restack on narrow containers.
- Server component with no client JavaScript.