Components

Every primitive in Spark UI, as used in a HEMS.

@epilot/spark-ui ships the building blocks behind epilot's portal blocks. Every component below is used in production by a HEMS, and each page shows how it's wired up there.

Previews

A live preview of every component. Click any tile to open its page.

AccordionView →

BadgeView →
New
Bar ChartView →

Volume by month

6,450
BoxView →
Arbitrary content
BreadcrumbsView →
ButtonView →
CalloutView →

Your changes have been saved.

CardView →

#OP-6894

Chart TooltipView →
14:00
Measured1.7
Projected1.7
CheckboxView →
Device CardView →
Scheduled to finish at 18:30
DialogView →
Empty StateView →

No devices yet

Add your first device to start tracking energy.

Donut ChartView →
100total
Energy Bar GraphView →

Energy today

45.30 kWh
Energy BreakdownView →
Where it went todayAcross all consumers
16.2kWh
Home8.4 kWh52 %
EV charger5.1 kWh31 %
Heat pump2.7 kWh17 %
Energy History ChartView →

Energy this week

72.4 kWh
Feed-in HeroView →
Feed-in right now
1,240 W
IconView →
Info BlockView →
Live load2.1 kW
Mostly the heat pump and lights.
InputView →
Input OTPView →
LabelView →
ListView →
Line ChartView →
Number FlowView →
2,140 W
Onboarding LayoutView →

Connect your battery

Step 2 of 4

Pair the inverter so we can read the live state of charge.

Onboarding step content
Page HeaderView →

Wallbox

Page SpinnerView →
Loading
Period TabsView →
Today
PopoverView →
Power NetworkView →
520 W
3,200 W
1,000 W
0 W
Power History ChartView →

Power today

kW
ProgressView →
Radio Card GroupView →
Sankey ChartView →

Power distribution

Scroll AreaView →
Segmented ControlView →
SeparatorView →

Spark UI

An open-source UI component library.

Blog
Docs
Source
Series LegendView →
SkeletonView →
SliderView →
Solar Forecast ChartView →
SpinnerView →
Loading
StepperView →
70%
SwitchView →
TabsView →
Manage account preferences and personal details.
ThumbnailView →
Soft blurred bokeh of warm fairy lights
ToastView →
TooltipView →
TypographyView →

Live load

2,140 W

Browse by category

Actions & inputs

Overlays & disclosure

Feedback & status

Content & layout

Energy & HEMS

Energy-domain components live in their own section.

On this page