Contact card with address and map
A “Find us” card bringing together address, access, phone, email and opening hours, with an OpenStreetMap map loaded on demand and buttons to call, email, get directions or copy the address.
- Tailwind
- React
- CSS
- WordPress
Description
All contact details are readable and clickable without JavaScript (tel:, mailto:, directions and map links). Once the script loads, today's row is highlighted in the opening hours table (computed in the Europe/Paris time zone), the interactive map replaces the illustration with a single click, with no request to OpenStreetMap before that click, and a button copies the full address. The JSON-LD markup (LocalBusiness, address, GPS coordinates, opening hours) mirrors the details shown. In HTML/CSS and WordPress, the data-ccap-palette="terre" or "foret" attribute on the card changes the accent, in light and dark modes. Accessibility: details in a description list, hours in a real table with row headers, everything works with the keyboard with a visible focus, focus moves to the map once loaded, copying and loading are announced by a role="status" region, touch targets are 44 px, contrast exceeds 4.5:1 in light and dark modes and transitions stop with prefers-reduced-motion. Replace the details, the directions link and the OpenStreetMap URLs with your own.
Code
Loading the code…
The code of this component in
Reviews
No reviews yet.
In the same spirit

Link in bio page
FreeA mobile page to link from your social profiles: portrait, name, priority links (booking, WhatsApp, website, reviews, call), opening hours with an open or closed status, social links and a share button, in dependency-free HTML and CSS.
- Tailwind
- React
- CSS
- WordPress

A single-plan pricing card: struck-through price and discount, a places-left gauge driven by a data attribute, the list of everything included and a booking button that turns into a waiting list once sold out.
- Tailwind
- React
- CSS
- WordPress

Three treatment cards in accessible neumorphism: gently raised surfaces, buttons that sink in when activated, a light/dark switch for the block itself. 3:1 outlines and AA text kept.
- Tailwind
- React
- CSS
- WordPress

Four fully clickable workshop cards in a neo-brutalist style: thick border, solid offset shadow and a card that sinks onto its shadow on hover or focus. Pastel tones, dark mode, no JavaScript.
- Tailwind
- React
- CSS
- WordPress