Get started
Examples

Show a waypoint card

Show a waypoint card

WaypointCard states everything a place records: a headline, its services, its contact rows, and its timing. Reach for it in a popup, a drawer, or a column beside the route.

import { WaypointCard } from "@mountaya/elements-react/elements";
import { MountayaElementsProvider } from "@mountaya/elements-react/headless";

export const Refuge = () => (
  <MountayaElementsProvider client={client}>
    <WaypointCard waypoint={waypoint} />
  </MountayaElementsProvider>
);

Without formatCutoffAt the card reads a cut-off as elapsed time, the honest spelling with no time zone.

Next steps