Skip to main content

Grid Embed

The grid embed shows places or events as a filterable grid of cards. Event grids add a calendar view. Use it for a directory or an events page.

Embed code​

<div id="vibemap-grid"></div>
<script
src="https://web.vibemap.com/load.js"
data-iframe-el="vibemap-grid"
data-resize="true"
data-url="https://web.vibemap.com/embed/grid?slug=san-francisco&type=places&shownAtStart=12"
></script>

Replace slug=san-francisco with your boundary slug, or use list=<your-list-slug> to show a list you manage in the Hub. Add type=events for an events grid.

Parameters​

See Grid URL Parameters.

Events and sizing​

The grid grows to fit its cards. When a card opens inside the embed and the visitor goes back, the grid returns to the same view, number of loaded cards and scroll position. See Embedding and sizing for the height protocol, Back behavior and the messages the grid sends: view-changed and filters-changed.