Patterns

KPI row

Currency comes from the settings store; never hard-coded.

Revenue today
$48,250
12.4%
Occupancy
82%
3.1%
Avg stay
2h 14m
last 7 days
Failed payments
3
40.0%

Import#

Everything comes from the package root. The example above uses:

your-component.tsx
import { KpiRow } from "@waveinno/ui";

Props#

Read from the source of this version, so they match the code exactly.

<KpiRow>

src/components/patterns/kpi-card.tsx
PropTypeDefaultDescription
itemsrequiredKpiDef[]—

Install#

If the project does not have the package yet, add it, then follow the setup for Next.js or Vite once.

$ npm install @waveinno/ui