Etch component

Category 1

A group under its own title, such as a category of services, with an optional icon before the title and a short description under it. What the group holds goes under them.

Category 1

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

A group under its own title, such as a category of services, with an optional icon before the title and a short description under it. What the group holds goes under them.

How to use it

  • Set the Title and, if it helps, the Description. Title Tag is h3 by default, for a category under a section's h2.
  • Pick an icon in Icon > Source, or leave it empty for none. Icon > Styles > Style shows it naked or boxed, naked by default. Its size follows the title's.
  • Put what the category holds in Content, a MAC Card List 1 of its services as in the demo, or anything else.
  • To set categories side by side, put them in a MAC Category List 1.

Good to know

  • The title looks the same whatever its tag.
  • --mac-category-1-gap sets the space between the title and what's below, --mac-category-1-icon-color the icon's color, the site's primary by default, and --mac-category-1-icon-size its size, 1.25 times the title's by default.

Reference

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

Loading the reference