PageLocations Pro
Part of Pro. Versions up to 0.10 of the open source package include it under MIT; later releases keep it in Pro.
Locations page. Slots: filters, list, map.
Import
Vue
import { UiPageLocations } from '@ziyarago/ui-pro/vue'Default
Locations
Section
Filters slot
Places slot
Map slot
Vue
<UiPageLocations title="Locations" subtitle="Section"> <template #filters>Filters slot</template> <template #list>Places slot</template> <template #map>Map slot</template> </UiPageLocations>
API reference
Locations template: filters, a scrollable list of places and a sticky map panel.
Props
PropType and valuesDefaultDescription
titlestring—Page heading. The built-in header renders only when title is set and the header slot is empty.subtitlestring—Caption under the heading.crumbs{ label: string; href?: string }[]—Breadcrumb trail above the title.Slots
Vue: named slots. React: a prop with the same name; default is children.
headerCustom page header; replaces the built-in title/subtitle/crumbs header.actionsButtons on the right of the built-in header. With a title they sit beside it; without a title they render alone, right-aligned (unless the header slot is filled).filtersSearch and category filters; SearchInput, FilterChips.listPlaces list; Card rows.mapMap panel; Map, or a gradient placeholder.Notes
- Place inside AppShell; fill only the slots you need.
- The list is a fixed-width column left of the map; under 860 px the map goes below the list.