Skip to content
Library

Widget: hours

Opening hours in a small card: a caption, a status line, the days with their hours, a note and one link. Today's row is picked out on its own, in the page's language. Light or dark, medium or small.

ComponentWidgets

Live preview

Variant
Scheme
Width
Motion

Hours

Open today until 6 pm

  • Monday8 am to 6 pm
  • Tuesday8 am to 6 pm
  • Wednesday8 am to 6 pm
  • Thursday8 am to 6 pm
  • Friday8 am to 5 pm
  • Saturday9 am to 1 pm
  • SundayClosed

Hours

Open today until 6 pm

  • Monday8 am to 6 pm
  • Tuesday8 am to 6 pm
  • Wednesday8 am to 6 pm
  • Thursday8 am to 6 pm
  • Friday8 am to 5 pm
  • Saturday9 am to 1 pm
  • SundayClosed

Hours

Open today until 6 pm

  • Mon to Fri8 am to 6 pm
  • Saturday9 am to 1 pm
  • SundayClosed
etchpress.com/library/widget-hours
Widget: hours

What you can build with it

Opening hours on a contact page or in the footer band. A tile in a bento or "why us" section beside a rating and a stat. A clinic's or a shop's hours with today picked out. A dark tile on a light page, or the reverse.

Props

caption (text); title (text, the status line); rows (repeater: day, hours); note (text, optional); linkLabel and linkHref (optional); tone (select: light, dark); size (select: medium, small)

States shown

Rest; today's row in the live colour with a small "today" mark (a row that names a range stays plain); the link's hover, focus and press; dark tone stays dark in both schemes; small; a long status line wraps. Nothing moves under reduced motion.

How to change it

Content and options are 8 props in the component's settings panel. Colour, type, spacing and radius follow your Automatic.css settings, so a change to the site's palette or scale changes this too. For anything else, edit the classes in the Style Manager, starting with .widget, .widget-hours. Its behaviour is a small script that travels with the component; no plugin and nothing to install.

ACSS tokens used

space-s, space-xs, text-s, text-m, radius, primary-dark, primary-light, text-dark, text-dark-muted, text-light, text-light-muted, neutral-ultra-dark, white, black, box-shadow-1, focus tokens; –ep-font-mono with a fallback.

ACSS requirements

ACSS 4 defaults. Nothing to switch on. Place it under a section heading: its title is an H3.

Version history

Version 1.0.0, September 30, 2026: First release, the first of the widget family built under the component-systems contract.

Tested with

Etch 1.6.7 and ACSS 4.0.1. Version 1.0.0.

Lifetime members

Members copy this straight into Etch, ready to paste.

Used an earlier version? How to update it

Get lifetime access
Other builders

Want EtchPress for Bricks or the block editor?

Everything here is made for Etch. Pick the builder you use and leave your email: we write once, when EtchPress works there.

This field is required.