Design system

Component library

Live examples of UI patterns implemented in this codebase. Pair with the style guide for tokens and typography.

actions

Actions

Primary CTAs, secondary buttons, icon buttons, and text links used across the shell.

Primary

Secondary

Icon button (header scale)

forms

Form controls

Labels, text fields, and selection patterns aligned with Bootstrap dark theme overrides.

cards

Cards & surfaces

Bordered panels, KPI tiles, and list row containers on primary surfaces.

KPI tile

12,450 kWh

Energy dispensed · last 7 days

List row

Station name

Region · 12 connectors

tables

Data tables

DataTables-backed grids and table utilities for dense operator data.

IconTableRowActions

Used in DataTables action column (tableActionIconHtml).

DataCustomTable

DataCustomTable from @/Components/Table/DataCustomTable— jQuery + DataTables (client-only). Demo uses three abbreviated rows; production screens pass full datasets and optional paging.

Loading table…

modals

Modals & overlays

Dialogs, confirmations, and slide-down pickers share modal and portal patterns.

ModalLogout — same pattern as ModalAddCategory, ModalTwoFactor: React Bootstrap Modal with header border and dismiss control.

charts

Charts

Chart.js and Recharts widgets for revenue, sessions, and network metrics.

CartRevenue

Dashboard energy/revenue bar with inline segment toggle (CartRevenue.jsx).

Energy Dispensed

12,450 kWh

12.4%

vs previous month

SimpleBarChart

Compact interactive bars (click to highlight a month) — SimpleBarChart.jsx.