Skip to content

PlaceList

Maps

Split view: ranked list of places linked to a map; hovering/clicking a row highlights its marker. selected (row index) starts with that row highlighted.

Props

Generated from the Zod definition. In A2UI 1.0 any value may also be a { "@path" } binding into the surface data model or a { "@call" } function call.

PropTypeRequiredDescription
titlestringNoHeading shown at the top of the component.
places{ id?, name, lat, lon, description?, category?, address?, distanceKm?, rating? }[]YesPlaces with name, lat, lon and optional address.
sourcestringNo-
selectednumberNo-
heightnumberNoHeight in pixels.
basemap"dark" | "streets" | "liberty"No-

Used by templates

Fixed-schema templates that include PlaceList. Try them in the playground.