Stat Card / KPI Card

Mode

Skin

Theme

Overview & How It Works

Stat and KPI cards display high-impact metrics, indicators, and trends across dashboards using [data-ln-stat-card]. When connected to reactive data, inline numbers carry data-ln-stat="storeName" (with optional criteria such as data-ln-stat-filter="status:active"). On boot, the element dispatches an ln-stat:request-count event that bubbles to the nearest ln-data-coordinator.

When the coordinator resolves or updates the record count in the bound store, it emits ln-stat:set-count, updating the card's textContent and clearing any loading states. The stat element holds zero internal cache, staying perfectly in sync with the underlying data store through standard DOM events.

KPI Grid — 4 cards, all trend variants

Total Documents

1247

12% from last month

Active Standards

8

No change

Pending Reviews

34

5% from last week

Approved This Month

91

22% from last month

Stat Card Variants

Total Users

3581

Revenue

€42600

18.4% from last quarter

Overdue Items

7

3 more than last week

Compliance Score

97%

No change from last audit