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…

Archive contents

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

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

Tags

Updated on October 13, 2026.

In the same spirit

  • Icon, title, short description, indicative price and link to the details.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Visual, recipe name, difficulty, duration and servings.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Initials avatar, name, role, short bio and booking link.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Visual, name, variant, customer rating and price, with an add-to-cart button.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
"Open now" hours card | Forge