Customize
Accent Color
Battery Level
18
Km Per Percent
1.9
Charging
Charger Distance
Charger Location
Distance To Turn
900
Street Name
Speed Limit
55
Film Grain
Animation Speed
100
EV Range Widgets
Widgets 310 views•95 uses
Props
11 propertiesaccentColorcolor#ff3b30batteryLevelnumber18kmPerPercentnumber1.9chargingbooleantruechargerDistancestring12kmchargerNamestringNess Ave, San Fra…distancenumber900streetNamestringNess AvespeedLimitnumber55showGrainbooleantruespeednumber100Get this component
Copies the component into your project, installs what it needs, and pulls down its images. Nothing to download by hand.
npx spark-ui-registry@latest add ev-range-widgetsWrites to components/spark-ui/ by default; override with --dir. The file is yours to edit; there is no package to keep in sync.
Two frosted-glass EV dashboard widgets: a charging card with a 20-cell glowing battery and charge-limit marker, and a live follow-camera navigation map with a floating turn pill, heading beam and trip bar.
KEY FEATURES
- ·Battery cells light up in a staggered spring as the car charges, with the active cell pulsing and a charge-limit marker
- ·Hero percentage and range count up live; time-to-limit, charge rate and stall availability update alongside
- ·Navigation follows a real route on the street grid: the map translates and rotates so your heading stays up, slowing into corners
- ·Floating manoeuvre pill shows the real next turn, distance and street; ETA, remaining time and distance come from the route
- ·Puck marker with a heading beam, glowing route that is consumed as you drive, film grain and blur-in entrance