Skip to content
HomePagesHomePages template kit

poi

A single point of interest — one platform-built place (a `PoiRow`), picked in the editor's place search.

A single point of interest — one platform-built place (a PoiRow), picked in the editor’s place search. The platform owns the row’s content; there is nothing to configure beyond the head. Usable standalone or as a list item (list.of(poi({ label: "Restaurant" }), { label: "Restaurants" })).

Import from @homepages/template-kit.

function poi(opts: PoiOptions): PoiSlotDef
Name Type Required Description
opts PoiOptions required

PoiSlotDef

import { poi } from "@homepages/template-kit";
poi({ label: "Nearest station", placeholder: "Search places…" });