# Event card

Event card: a free component, built on your design tokens, to use when someone asks what is on, or about one event. One event to go to: a photo, the name, the date and venue, the price with its currency, and how many seats are left as a status (sold out is never green), with a button to choose seats.

Prompt: Add the OpenDesigner component event-card to this project: https://opendesigner.dev/library/event-card.html. Keep its markup and states; map its --ds-* variables to my tokens.

States: seats left, few left, sold out, photo beside when wide, stacked when narrow, hover, focus, disabled.

Accessibility: An article named by the event; date and venue are read with their labels, and seats left is words as well as colour.

File: https://opendesigner.dev/library/event-card.html

Catalog entry (parts, data limits, states, tokens): https://opendesigner.dev/library/event-card.json

Download: `curl -fsSLo event-card.html https://opendesigner.dev/library/event-card.html`
