Maps

Directions with a map and hours

Directions: a full-width Yandex Map with a pin and a card on top with the address, hours by day, landmarks (metro, parking, entrance) and “Build a route” and phone buttons. Works without a key via the stock widget.

What you can change

  • title, address, latitude, longitude, zoom, hours, details, phone, phoneHref, routeLabel
  • apiKey, providerLabel
  • accent and background, tone

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.ru/c/map-005?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

For developers

The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.

Technical notes

One file, zero dependencies, “use client”. Without apiKey — an <iframe> of the Yandex Maps widget with a pt pin and the theme scheme; with apiKey — JS API v3 (loadScript once per URL, YMap, layers, YMapMarker with an accent pin). In auto the map theme follows the page via a MutationObserver. The card sits under the map when narrow, from 56rem (container query) absolute on the left over the map with scrolling. Hours are a <dl> grid auto/1fr with tabular-nums, the address in <address>. Palette --vibeui-map-005-* is neutral: ink and paper via light-dark(), the site colours come through the accent, ink and background props; Playfair Display and Manrope via <link precedence> from Google Fonts with system fallbacks. tone pins the scheme, accent, ink and background override colours.

Tags

  • restaurant
  • cafe
  • bar
  • food
  • menu
  • dining
  • map
  • yandex
  • directions
  • hours
  • address
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…