Skip to Content
SmartUI

KPI Group

Several KPIs in one card, separated by hairlines.

Bookings today
128+12%
Yesterday: 114
Patients arrived
96+8%
75% of bookings
Results uploaded
64
Target 100
No-shows
7+2
Yesterday: 5

Usage

import { KPIGroup } from '@smartui/react';
import '@smartui/react/styles.css';

When to use

  • Three to five related numbers at the top of a dashboard.

When not to use

  • Unrelated numbers. Use separate KPI cards.
  • More than five numbers in one group.

Props

PropTypeDefaultDescription
childrenKPI elementsrequired
labelstring-Accessible name of the group.
columnsnumberautoFixed column count. By default columns wrap at 200px.

Accessibility

  • Rendered as a group. Give it a label that says what the numbers share.

On this page