Skip to content

Meter Components

Meter Components is a headless meter component library: core + React + Vue 3 + Tailwind CSS. Data fetching, table state, and chart models are all headless, so your application’s UI stays under your control.

SubjectClient, the table controller, and chart models are all decoupled from the UI; component behavior is managed by React/Vue — no Web Components or Shadow DOM.

Components emit semantic meter-* classes by default. Override any slot through classNames, or turn on unstyled to render everything yourself. An official Tailwind CSS plugin is included. See Theming & Styles.

MeterChart / MeterUsage are drawn by Apache ECharts. The ChartType union is open: register custom series and SVG renderers, and use isolated registries in micro-frontend setups. See Chart Extension & Registries.

Subject Tokens are issued by your backend; the client ships with single-flight caching, expiry refresh, and 401 retries. The browser never holds a tenant API key. See SubjectClient & Auth.

All default copy lives in MeterMessages — partially override it through the messages prop to localize. See Internationalization.

Use createTableController, createChartModel, and renderChartSvg directly, without the components, and build any UI you like.