Skip to content
Opening hours, light
Light
Opening hours, dark
Dark

Every state

  • Opening hours, default, light
    Opening hours, default, dark

    default

  • Opening hours, hover, light
    Opening hours, hover, dark

    hover

  • Opening hours, focus, light
    Opening hours, focus, dark

    focus

  • Opening hours, lunch-break, light
    Opening hours, lunch-break, dark

    lunch-break

  • Opening hours, closing-soon, light
    Opening hours, closing-soon, dark

    closing-soon

  • Opening hours, opens-later, light
    Opening hours, opens-later, dark

    opens-later

  • Opening hours, closed, light
    Opening hours, closed, dark

    closed

  • Opening hours, narrow, light
    Opening hours, narrow, dark

    narrow

Props

PropTypeDefaultWhat it does
titlestring"Opening hours"Title text.
textstring | null"Service desk, Westerhaven town hall"One line under the title: the place or the desk. Null or left out: no line.
weekContactCardHoursRange[][][lunch, lunch, lunch, [{ open: "08:30", close: "12:30" }, { open: "13:30", close: "20:00" }], [{ open: "08:30", close…Seven days, Monday first, each a list of opening ranges; [] is a closed day and two ranges make a lunch break.
timeZonestring"Europe/Amsterdam"The business's IANA time zone: open or closed is worked out there, wherever the visitor is.
nowstring | nullnullThe moment to show, as an ISO string. Null or left out: the visitor's clock, read after hydration and every minute (the server draws the week without a status).
soonMinutesnumber30Minutes before closing that count as closing soon.
notestring | null"Times in Amsterdam time. Closed on public holidays."A line under the table (time zone, public holidays). Null or left out: no line.
link{ label: string; href: string } | null{ label: "Make an appointment", href: "/appointments" }A link under the table (holiday hours, an appointment). Null or left out: no link.
labelsContactCardHoursLabels{ open: "Open now", soon: "Closing soon", break: "Lunch break", closed: "Closed", closesAt: "closes at {time}", backA…Every word the card says around the times.
localestring"en-GB"Locale for weekday names and times.
classNamestring–Extra classes on the outer element.

More contact cards

All 8

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans