shadcn.io is an independent project built on shadcn/ui
On this page5 sections
Installation
Overview
Let shoppers collect their parcel from a locker on their way, with this parcel locker picker map for Vue with Ark UI. Boxlane, a parcel locker network, shows the delivery step of a checkout: eight lockers round an address in Kreuzberg, Berlin, nearest first, in a list beside a live Map that follows your theme. The list is a Radio Group, the form's value: each locker gives its spot, the walk in minutes and metres, whether it is open at the hour the step is shown, and its free compartments by size, with the parcel's own size, M, set apart. A locker with no free M compartment is listed apart, under the choices, and drawn as a dashed pill on the map: it can't be chosen. Choosing a locker, from the list or its pill on the map, draws the walk from the address along real streets and frames it; the map button shows every locker again. Deliver to saves the choice in the step and says when the parcel will be ready. Built from Map, Radio Group, Field, Button and Guides. For shops, marketplaces and carriers that offer pick-up points at checkout.
FAQ
How does the choice reach my checkout?
The radio group is named locker inside a real form, so its value goes with the form like any input; submitting it runs confirm, which here only keeps the choice in the block's state and marks the button Saved. In your app, send the form to your order endpoint, or read the chosen id from the state.
Where do the lockers and walks come from, and what stays local?
The squares, stations and streets are real and each locker sits at its real place; Boxlane, the lockers' hours and the free compartments in LINES are invented. Each walk from the address was asked once of a public walking router while the block was written, simplified and typed in, and its length is measured along the line drawn. Nothing is fetched or sent except the map's tiles.
Which lockers can be chosen, and how are they sorted?
They are sorted by the walk from the address, nearest first, and the step opens on the nearest one with a free compartment of the parcel's size. A locker with no free M compartment isn't one of the radio choices: it is listed apart under them, its pill on the map is dashed, and pressing it there only says so. Open or closed is read at a fixed hour, Thursday 22 October 2026 at 20:30, so the step looks the same every time.
Can I use it without a mouse?
Yes. The lockers are one radio group: Tab into it and the arrow keys move between the lockers that can be chosen, the map following each choice; Deliver to is the form's submit button. The zoom buttons and the show-every-locker button are in the tab order, and a polite message reads each choice's walk, hours and free compartments.




