Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA map screen drawn entirely in SVG: an invented harbor city with a bay, a winding river with bridges, parks, rotated street grids, buildings, a highway and street names set along the avenues. Drag to pan with momentum and soft rubber-band edges, scroll or pinch to zoom around the pointer, and pins sit on top at constant size. A frosted glass bottom sheet snaps between peek, half and full detents with velocity projection, filters places by search and category chips, and choosing a place flies the camera there on a zoom-out-and-in arc while its pin morphs on a spring into a photo card and the sheet turns into a detail page. Map, pins, sheet and controls are keyboard operable (arrows, plus and minus, Escape), light and dark map styles are included and reduced motion jumps instead of flying.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
The copied code, markdown and prompt include the values you set here.
import { MapsSheetScreen } from "@/components/hyperblur-pro/maps-sheet-screen"
<MapsSheetScreen />
<MapsSheetScreen appearance="dark" frame={false} onSelect={(id) => console.log(id)} />| Prop | Type | Default | Description |
|---|---|---|---|
| places | MapPlace[] | 7 sample places with Unsplash photos | Places with id, name, kind (coffee, food, park, beach, books), map coordinates (0 to 1800), rating, reviews, distance, hours, photo and address. |
| appearance | "light" | "dark" | "auto" | "light" | Map style and glass tint. |
| accent | string | "#0a84ff" | Primary action, location button and focus ring color. |
| defaultSelected | string | null | null | Place id opened on first render. |
| backdrop | string | Unsplash city lights photo | Photo behind the handset frame. |
| frame | boolean | true | Show the screen inside a drawn handset frame. Set false to fill the parent. |
| onSelect | (id: string | null) => void | undefined | Called when a place is opened or closed. |
Source code is included in Pro and above