Etch component

Card List 1

Cards in up to three columns with a faint line between the rows and each card's title numbered 01, 02, 03.

Card List 1

Copy Card List 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

Cards in up to three columns with a faint line between the rows and each card's title numbered 01, 02, 03.

How to use it

  • Put the cards in Cards, MAC Card 3s with Media set to None, as in the demo. The list numbers them in that order.
  • Turn Numbers off for a list without numbers.
  • For a category of services, put the list in a MAC Category 1's Content. In a MAC Category List 1, the numbers run on from one category to the next.

Good to know

  • Inside the list the cards have no ground, border, radius or padding. Only the line between the rows sets them apart, and there's none above the first row or under the last.
  • The cards take as many columns as fit, three at most, each at least 320px wide, so one on phones. --mac-card-list-1-max-columns and --mac-card-list-1-card-min-width change that, and --mac-card-list-1-gap sets the space between them.
  • --mac-card-list-1-number-style takes any list style, such as decimal for 1, 2, 3 or upper-alpha for A, B, C.

Reference

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

Loading the reference