Service-area rings around a hub as true geodesic circles: hairline dashed rings, a wash fading band by band, distance labels; structure, never status colour.
$ npx shadcn@latest add @highcommand/service-ringsCopies the source into your project and pulls in what it needs (5 other items). First time? Add the registry to components.json.
Service-area rings around a hub as true geodesic circles (the ground distance is right at any latitude): hairline dashed rings in the quiet foreground, a wash that fades band by band outward, and "5 mi" at the top of each ring.
centerrequiredLngLat—The hub.
radiirequiredreadonly number[]—One radius per band, in `unit` (e.g. [5, 10, 15] for tiered pricing).
unit'mi' | 'km''mi'Unit of `radii` and of the ring labels (default mi).
labelsbooleantrueDistance labels on the rings. Default true.