Skip to content
Twentyfirst UIPro

Vehicle Card

Connectors · VehicleCard

View as Markdown

An electric car: charge in percent with the limit marked on the bar, range, charging state with power and when it is done, lock and climate as buttons, the inside temperature and where it is.

Model YLong Range · 2024
58%287 km range

Charging · 11 kWDone by 6:30 AMLimit 80%

Home · Garage

Locked · Climate off · Inside 9 °C

Props

VehicleCard

PropTypeNotes
namestringRequired
model?string
batterynumberBattery (or tank) in percent.
range?numberRange in km.
limit?numberThe charge limit in percent, marked on the bar.
charging?"charging" | "complete" | "plugged" | "unplugged"
power?numberCharging power in kW while charging.
until?Date | string | numberWhen charging reaches the limit.
locked?boolean
inside?numberInside temperature in °C.
climateOn?boolean
location?ReactNode
onLock?(locked: boolean) => void
onClimate?(on: boolean) => void
service?ServiceRef
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.