Etch component

Event Card 1

Event card with a month, day and year block beside the title, a short summary and a details label. The title link covers the whole card.

Event Card 1

Copy Event Card 1

Configurator settings

Change a setting in the configurator to include it.

Optional. Copies the component under its own name, such as News Card Alpha for a site.

Documentation

An event card: a date block with the month, day and year beside the title, a short summary, an optional time and place, and a details label. Stack a few for a list of upcoming events.

How to use it

  • Set Title, Link and Date. The date takes a YYYY-MM-DD value, such as 2026-10-15, and defaults to today.
  • Add a time to the date to show it after the summary: 2026-10-15 18:00:00 reads "Thursday, 6:00 PM". A date without a time shows no time.
  • Midnight (00:00) means the time isn't set yet: it reads "Thursday, time to be announced", with the words from Time To Be Announced.
  • Place adds the place with a pin icon, beside the time. Leave it empty to hide it.
  • Turn off Show Year to hide the year in the date block.
  • Excerpt is the summary, and the CTA group's Label the label at the end, such as "Event Details". Leave either one empty to hide it.

Good to know

  • The title's link covers the whole card, so the label is a MAC CTA 2 without a link, and the focus ring goes around the card.
  • The time prints as typed, with no time zone to set. Dates are read at noon UTC, so they show the right day on sites west of UTC.
  • The icons are hidden from screen readers, and the time sits in a time element with its datetime.
  • The time and the place share one row, which wraps when the card runs out of room.
  • On narrow screens the date sits on one line above the text. --mac-event-card-1-date-width sets the date block's width.

Reference

Read from the component's JSON, so it's always current.

Loading the reference