Same building

A home's vacant siblings — the PIM hierarchy, visible.

A home's vacant siblings under the same building, as a small static grid. It is the PIM hierarchy made visible — the one place a unit page shows its parent's other children.

The grid is ListingsGrid, so the cards' bands align across the row by subgrid exactly as they do on the browse page (ADR 0015). A sibling list is usually two or three cards, andauto-fit is what stops those from being laid out against empty tracks and pinned narrow.

listLabel names the list for assistive technology. It is separate from heading because the two are read in different places and a heading that works on screen is not always the right name for a list.

Three siblings

Tone

Available in this building

  • 1 / 12
    New
    8.400 kr/md.LejlighedAvailable

    Worem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis.

    56 m²2 rooms
    2 months dep.
  • 1 / 1
    Open house
    Reserved
    11.200 kr/md.RækkehusReserved

    Worem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum.

    84 m²3 rooms
    3 months dep.
  • 1 / 5
    Open house
    NewComing soon

    Strandgade 7, 1.5000 Odense C

    6.950 kr/md.LejlighedComing soon

    Worem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero.

    42 m²1 room
    1 month dep.

One sibling

The card centres in the track rather than hugging the left edge, which is the short-row case the grid was tuned for.

Tone

Available in this building

  • 1 / 12
    New
    8.400 kr/md.LejlighedAvailable

    Worem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis.

    56 m²2 rooms
    2 months dep.

Props

packages/primitives/src/SameBuilding.astro
PropTypeRequired
headingstringyes
listingsListingContent[]yes
listLabelstringyes
headingLevel1 | 2 | 3 | 4 | 5 | 6
classstring