VenueCard
PlannedVenue preview — image, name, address, capacity, link to venue page. Static, server-rendered.
patterns/molecules/venuecard.htmlVenue preview — image, name, address, capacity, link to venue page. Static, server-rendered.
VenueCard
molecules
Planned molecule — not yet implemented.
Planned molecule — design reference only; no component to render yet.
Status
Planned molecule — the React component is not yet implemented. Nothing is exported from the DS barrel; the props table above is the planned contract, not a rendered component.
Planned API
Sketch of the intended contract. Until the component ships, this is not importable code.
interface VenueCardProps {
id: string;
name: string;
address: string;
city: string;
country: string;
image?: { url: string; alt: string };
capacity: number;
href: string;
}
// Sketch — VenueCard is planned and NOT exported from the barrel yet.
<VenueCard
id="v-1"
name="Olympia"
address="12 Rue de la Paix"
city="Paris"
country="France"
image={{ url: '/venues/olympia.webp', alt: 'Olympia concert hall façade' }}
capacity={2000}
href="/venues/olympia"
/>Props
id*stringStable venue identifier.
name*stringVenue display name.
address*stringStreet address (caller preformats with locale-aware order).
city*stringCity name.
country*stringCountry name.
image{ url: string; alt: string }Venue image — URL and alt text (alt required by a11y contract).
capacity*numberSeating capacity.
href*stringLink to venue detail page.
Props
VenueCard
idstring—Stable venue identifier.
namestring—Venue display name.
addressstring—Street address (caller preformats with locale-aware order).
citystring—City name.
countrystring—Country name.
image{ url: string; alt: string }—Venue image — URL and alt text (alt required by a11y contract).
capacitynumber—Seating capacity.
hrefstring—Link to the venue detail page.
<VenueCard />Accessibility
Type
1 ruleARIA
1 rulea11y
1 ruleUsage
Import
import { VenueCard } from "@epasslive/design-system"Example 1
<VenueCard id="v-1" name="Olympia" address="12 Rue de la Paix" city="Paris" country="France" image={{ url: "/venues/olympia.webp", alt: "Olympia concert hall façade" }} capacity={2000} href="/venues/olympia" />Anti-patterns
— Do not hardcode data in molecules
— Avoid complex business logic in molecules