A route's stops in order with each stop's status shape, window, ETA or arrival in mono; open stops reorder by drag or keyboard with screen-reader announcements, stops done or under way locked.
Part of High Command Pro. The preview and props are open to everyone; installing it needs your license key. Set up your key · Pricing
$ npx shadcn@latest add @highcommand/stop-listCopies the source into your project and pulls in what it needs (4 other items). First time? Add the registry to components.json.
A route's stops in order, in High Command's row language: sequence with the stop's status shape (late diamond, at-risk triangle, failed square), name and window, ETA or arrival in mono and the state in words.
stopsrequiredreadonly DispatchStop[]—Stops in route order.
onReorder(stops: DispatchStop[]) => void—The whole new order after a move. Omit for read-only.
selectedIdstring | nullnullId of the selected stop, highlighted; null (default) for none.
onSelect(stopId: string) => void—Fires with a stop's id when its row is pressed.
nownumber—Now (epoch ms) for late and at risk; omit for plain statuses.
classNamestring—Extra class names for the list.
labelstring'Stops'Accessible name of the list (default "Stops").