Back to blocks
BlockDashboard / ApplicationFree

Map Block React component

A live delivery map for a dashboard: a drawn city with river, parks and roads, drivers moving along dashed routes that fill in as they go, stops that tick off, a sidebar with ETAs and progress, filters for on-time and delayed, click to zoom to a driver with a stops card, drag to pan and zoom controls.

About the Map Block component

Map Block shows deliveries moving across a city in real time. Each driver follows a dashed route that turns solid behind them, stops tick off as they pass, and the sidebar lists everyone with their next stop, ETA, status and progress.

Click a driver and the map glides in to them, fades the other routes and opens a card with their stops. Drag to look around, use the zoom buttons or double-click, and filter to only on-time or delayed drivers. The city is drawn in SVG, so there are no map tiles, keys or extra libraries.

When to use it

Use it in delivery and courier dashboards, field service and fleet tools, ride or logistics back offices, or as a live status visual on an operations page.

For real streets, swap the drawn city for your own SVG or a static map image and project coordinates into the same space.

Installation

Add the Map Block component to your project with the shadcn CLI. It lands in components/map-block.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/map-block

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More Dashboard / Application components

What's New / In-app Changelog Widget
Free
Workflow Builder Block
Free
Referral Widget
Free
Inbox / Message List Block
Free
App Shell, Sidebar Layout
Free
Multi-step Form Block
Free