Amenities

What is included, grouped and iconed.

What is included, grouped: the home, the building, then the policies. The labels are vocabulary the PIM serves for the requested locale — nothing here is authored in the CMS, because enum labels are a count of terms, not a count of entities, and translating them per home would be work with no reader.

The icons survived a rewrite that had dropped them. They carry no meaning on their own and are hidden from assistive technology; the label is the content.

Three groups

Of five, four and two, so the last row of the grid is uneven — which is the normal case and worth seeing rather than a tidy multiple.

Tone

What's included

In the home

  • South-facing balcony
  • Fully fitted kitchen
  • Own washer and dryer
  • Fibre ready
  • Underfloor heating in the bathroom

In the building

  • Lift to every floor
  • District heating included
  • Bike and pram storage
  • Visitor parking

Good to know

  • Pets allowed
  • Non-smoking building

One group

Tone

Good to know

Good to know

  • Pets allowed
  • Non-smoking building

Props

packages/primitives/src/Amenities.astro
PropTypeRequired
headingstringyes
groupsAmenityGroup[]yes
headingLevel1 | 2 | 3 | 4 | 5 | 6
classstring
AmenityGroup — referenced by a prop above
FieldTypeRequired
headingstringyes
amenitiesAmenity[]yes