Etch component

Service Area 1

One area a business serves, as a card: its name, a short line and the places in it, the whole card a link to the area's page when it has one.

Service Area 1

Copy Service Area 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

One area a business serves, as a card: its name, a short line and the places in it, the whole card a link to the area's page when it has one.

How to use it

  • Fill Title, Description and Places, such as "Brooklyn, Queens, Staten Island".
  • Set Link to the area's page: the whole card goes there. Add a CTA Label, such as "View Area", for a label at the card's end.
  • Pick an Image for a photo at the card's top, or leave it empty.
  • For a list of areas, put the cards in a grid, or one card inside an Etch loop over the areas, bound to each area's title, link and places.

Good to know

  • Without a Link the card has no link, for an area without its own page.
  • A long list of places can be cut where it's bound, such as with .slice(0, 6).
  • A map of the areas goes beside the cards: MAC Map 1 or MAC Map 2.
  • The CSS variables set the icon's color and the image's shape.

Reference

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

Loading the reference