VenueMap
ImplementedVenue-level sold-inventory floor plan — a static figure/grid of section tiles colored by sold percentage, with a stage block and a four-tier legend. Not a geographic map: distinct from the storefront dashboard's same-named Google-Maps VenueMap wrapper (lat/lng/apiKey). Venue-level overview companion to SeatMap (seat-level statuses). Built-in labels are FR-CA by default (Scène, % vendu, Devant la scène) with a full EN set via the locale prop (Stage, % sold, Front of stage).
components/organisms/venuemap/VenueMap.tsxPlan de salle visuel avec sections colorées selon le pourcentage vendu. Étiquettes intégrées FR-CA par défaut (« Plan de salle — Maison symphonique · Section · % vendu · Devant la scène · Disponible · Bien vendu · Presque complet · Complet »), jeu EN complet via locale='en' (Stage, % sold, Front of stage, Available…Full).
VenueMap
Organism — Event family (Family 2)
Carte de la salle (grid 2 colonnes, 3 à partir de sm:) avec une zone Scène sur la droite et une légende explicite des couleurs. Chaque section porte un aria-label qui annonce le pourcentage vendu. Teintes par palier = paires ADR-027 tint/fg (texte AA ≥ 4,5:1 dans les deux thèmes) — pas d'aplats pleins.
- Disponible (< 30 %)
- Bien vendu (30-69 %)
- Presque complet (70-94 %)
- Complet (≥ 95 %)
This component supports light and dark mode.
VenueMap (EN)
Organism — Event family (Family 2)
Variante EN — locale='en' : « Venue map — … », « Stage / Front of stage », « N% sold, capacity … », légende « Available / Selling well / Nearly full / Full ».
- Available (< 30%)
- Selling well (30-69%)
- Nearly full (70-94%)
- Full (≥ 95%)
Props
venueName*stringNom du lieu.
sections*VenueSection[]Sections de la salle.
stageLabelstring« Scène » (fr) / « Stage » (en)Libellé de la scène — retombe sur le libellé intégré selon la locale.
locale'fr' | 'en'frLocalise les étiquettes intégrées (aria de la figure, gabarits vendu/capacité, scène, légende). 'fr' par défaut (rendu FR historique identique à l'octet près) ; type VenueMapLocale exporté du barrel.
classNamestringClasses additionnelles sur la figure racine.
Props
VenueMap
venueNamestring—Venue name — rendered as the figcaption and interpolated into the figure aria-label « Plan de salle — {venueName} » (fr) / "Venue map — {venueName}" (en).
sectionsVenueSection[]—One tile per section. VenueSection = { id, name, soldPct (0-100), capacity? } — soldPct drives the tier color; capacity is appended to the tile aria-label when present.
stageLabelstring'Scène' (fr) / 'Stage' (en)Pre-formatted stage label rendered as the uppercase heading of the stage block (e.g. « Scène — Fond de salle »); falls back to the locale-aware built-in.
locale'fr' | 'en''fr'Localizes the built-in labels (figure aria template, sold/capacity templates, stage defaults, legend entries). 'fr' (default) keeps the original FR-CA rendering byte-identical; 'en' renders the English set. VenueMapLocale type exported from the barrel.
classNamestring—Appended to the root figure element.
<VenueMap />Accessibility
ARIA
1 rulea11y
1 ruleType
1 ruleUsage
Import
import { VenueMap } from "@epasslive/design-system"Example 1
<VenueMap venueName="Maison symphonique" sections={[{ id: "orch", name: "Orchestre", soldPct: 92, capacity: "1 100 places" }, { id: "balc", name: "Balcon", soldPct: 41 }]} />Example 2
<VenueMap venueName="Hangar 16" sections={sections} stageLabel="Scène — Fond de salle" />Anti-patterns
— Do not fetch data directly in organisms
— Avoid tight coupling to specific data sources
— Do not pass venue/zoom/apiKey (Google Maps props) — different component, the storefront dashboard wrapper