Etch component

Category List 1

MAC Category 1s side by side on wide screens, all one under the other on tablets and phones, with the services' numbers running on from one category to the next.

Category List 1

Copy Category 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

MAC Category 1s side by side on wide screens, all one under the other on tablets and phones, with the services' numbers running on from one category to the next.

How to use it

  • Put one MAC Category 1 for each category in Categories, each with its MAC Card List 1 of services. Their numbers run on, 01 to 12 for three categories of four.

Good to know

  • The categories never wrap two and one. They're all in a row, or all one under the other.
  • They go one under the other at the site's --mac-l breakpoint (992px by default), set once for the whole site in Etch's Custom Media Definitions.
  • --mac-category-list-1-category-min-width (256px by default) is the narrowest a category gets in the row. In a narrower place, or with more categories, they go one under the other sooner. --mac-category-list-1-column-gap and --mac-category-list-1-row-gap set the space between them in the row and one under another.

Reference

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

Loading the reference