Your own vehicles as calm rounded chips (status only when the route needs attention), depot stacks and dotted routes ahead.
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/own-fleet-layerCopies the source into your project and pulls in what it needs (2 other items). First time? Add the registry to components.json.
Your own fleet: a rounded square with the truck glyph per vehicle (apart from the round carrier chips), in a quiet outline unless its route needs attention (then the status colour and shape); a stack of rounded squares with the count where vehicles bunch up (a depot), never a ring (rings are shipment clusters); the routes ahead as quiet dotted lines under everything.
vehiclesrequiredreadonly OwnVehiclePoint[]—Your own vehicles, each with a position, route status and card fields.
onSelect(v: OwnVehiclePoint) => void—A click on one vehicle.
onSelectGroup(vs: OwnVehiclePoint[]) => void—A click on a stack (vehicles parked at one depot share a point, so zooming alone never splits them): the vehicles in it.
linkedreadonly string[][]Vehicles named elsewhere, softly ringed.
renderCard(v: OwnVehiclePoint) => ReactNodedefaultCardYour own card (default OwnCard from its fields).