Skip to content

"Open now" hours card

A shop card with the week's opening hours, today highlighted and a live status: open, closing soon, or closed with the reopening time.

  • Tailwind
  • React
  • CSS
  • WordPress
Open in a new tab

Description

The status is computed in the shop's time zone whatever the visitor's, and handles lunch breaks, closed days and reopening the next day or later. Hours remain a real table readable without JavaScript, and the current day is announced to screen readers.

Code

Loading the code…

The code of this component in

Archive contents

carte-horaires-ouvert-html-tailwind.zip3 files · 5 Ko

  • index.html11 Ko
  • README.md2 Ko
  • LICENSE.md1 Ko

Tags

Updated on December 2, 2026.

Reviews

No reviews yet.

In the same spirit

  • A 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
    Component
  • 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
    Component
  • 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
    Component
  • 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
    Component