shadcn.io is an independent project built on shadcn/ui
On this page5 sections
Installation
Overview
Tilt a tower and watch its sectors shrink, with this telecommunications map for React with Base UI. Pylonwell, a tower company, runs seven masts across Lisbon, from the Monsanto forest park to Marvila by the river, on a live Map that follows your theme. Choose a mast, from its marker or its card in the row under the map, and the map flies there and draws its three sectors as 70 degree wedges at their typed azimuths, each with its reach in a pill just past the tip. A Toggle Group over the map sets 4G (solid outlines, a long reach) or 5G (dashed, a short one) and a Slider tilts every antenna down from 0 to 10 degrees. Each sector's reach follows a typed rule: the technology's base reach, times the mast's height over 40 m, times the sector's terrain factor, less 5.5 percent for every degree of tilt. Every card says how far its mast's sectors reach now, by compass point, so you can compare masts without leaving the one on the map. Built from Map, Toggle Group, Slider, Button and Guides. For tower companies, radio planners and coverage reviews.
FAQ
How is a sector's reach worked out?
reachOf multiplies the technology's base reach (3.2 km for 4G, 1.2 km for 5G) by the mast's height over 40 m and the sector's terrain factor, then by one minus 5.5 percent per degree of tilt. The caption calls it simplified: real reach depends on frequency, power, clutter and antenna patterns.
How does the map frame a tower?
The camera frames the chosen mast's farthest untilted 4G reach and keeps that frame on 5G and at every tilt, so the wedges shrink in place and the two technologies compare at one scale. Pan and zoom freely in between; the map button frames all seven masts again.
Where does the data come from, and what stays local?
The places are real Lisbon neighbourhoods at their real coordinates. Pylonwell, the masts, their heights, azimuths and terrain factors are invented, typed in LINES in the file. Nothing is sent to a tower or saved: the wedges and the cards are worked out in the page. The map tiles come from CARTO's basemaps over OpenStreetMap data.
Can I use it without a mouse?
Yes. Every card is a button with a pressed state, the technology toggle takes the arrow keys and the slider moves a degree per arrow key, with Home and End for 0 and 10. The zoom buttons and the map itself work from the keyboard. A polite message reads the chosen mast's three sectors once the controls settle.





