shadcn.io is an independent project built on shadcn/ui
On this page5 sections
Installation
Overview
Show where someone runs most, with this activity heatmap map for Vue with Ark UI. Stridemark, a running log, draws 145 runs through 2025 from a flat in Oud-West, Amsterdam, on a live Map, one faint line per run: where runs overlap the lines add up, so a path run forty times glows and a one-off barely shows. Every run follows one of ten real routes, from the Vondelpark loop to a long run along the Amstel, baked from OpenStreetMap footpaths, with its own few metres of GPS drift. Twelve bars in the toolbar count the runs in each month and filter by month, and a Toggle Group filters by distance (under 8 km, 8 to 15, 15 and over). Four cells under the map count the runs and kilometres shown and name the longest run and the most repeated route, and a ruled list ranks the ten routes with their count, share and last run. Choosing a route, from its row or either cell, draws it in the primary colour and flies the map to it. Built from Map, Toggle Group, Button and Guides. For running, cycling and walking apps, fitness dashboards and any log of trips that repeat.
FAQ
How do the lines brighten where they overlap?
Every run is its own line, drawn at about an eighth of full strength over a wide, soft halo of its own. Where lines cross or run along each other, the lines and the halos add up, so a path run once stays faint and one run dozens of times turns solid and glows. The colour is the theme's chart colour pulled toward the text colour, so it reads on the light and the dark basemap.
Where do the runs come from, and what stays local?
The ten routes were asked once of the OpenStreetMap foot router and baked into LINES as paths of at most 80 points, so nothing is fetched but the map's tiles. The 145 runs are scattered from them by a seeded generator: each gets a date, a length within a few percent of its route, and a small drift, the same on every load. Stridemark and every run are invented; nothing is tracked or sent.
How do the filters work?
Press a month's bar to keep only that month's runs, and press it again for the whole year. The distance toggle keeps runs under 8 km, from 8 to 15 km, or 15 km and over, and the month bars redraw for it. The map, the four cells and the route list all follow both filters, and routes with no runs left stay in the list, faded.
Can I use it without a mouse?
Yes. The month bars, the distance toggle, the two route cells and every row of the list are buttons with their counts in their names, and the zoom buttons work from the keyboard; the map takes the arrow keys and plus and minus once focused. A polite message gives the runs, the kilometres and the most repeated route after each change.
How are the longest run and the most repeated route chosen?
Among the runs the filters keep, the longest run is the one with the most metres, and the most repeated route is the one with the most runs, the earlier route in the list winning a tie. Both carry a tag in the route list, and pressing either cell draws its route and flies there.
How does it look on a phone?
The month bars fill the toolbar's width with the distance toggle under them, then comes the map; the legend's words move into the caption. The four cells sit two by two, and the route list keeps each route's name and count. Scrolling over the map scrolls the page; two fingers pan it.





