ObjectUIObjectUI

Dashboard Blocks

Stats cards, metrics, and dashboard layouts

Dashboard Blocks

Professional dashboard components for displaying metrics, statistics, and data visualizations.

Stats Card

Display key metrics with trend indicators.

Stats Cards Grid

Total Revenue

$45,231.89

+20.1% from last month

New Users

+2,350

+180.1% from last month

Active Sessions

+12,234

+19% from last month

Conversion Rate

3.2%

-4.3% from last month

Recent Activity

Display recent user activities or transactions.

Recent Activity Card

Recent Transactions
OM
Olivia Martinolivia.martin@email.com
+$1,999.00
JL
Jackson Leejackson.lee@email.com
+$39.00
IN
Isabella Nguyenisabella.nguyen@email.com
+$299.00
WK
William Kimwill@email.com
+$99.00
SD
Sofia Davissofia.davis@email.com
+$39.00

Overview Dashboard

Complete dashboard layout with multiple sections.

Dashboard Overview

Dashboard
Total Revenue$45,231
Subscriptions+2,350
Sales+12,234
Active Now+573
Overview
Chart area - connect with plugin-charts
Recent Sales
OM
Olivia Martinolivia.martin@email.com
+$1,999.00

Usage

Customize dashboard blocks for your needs:

Add Real Data

A card fetches nothing. A live figure comes from a data-bound block: an element:number takes its object from the per-element dataSource binding and its aggregate from its properties bag (see the Data Source guide):

{
  "type": "element:number",
  "dataSource": { "object": "order" },
  "properties": { "aggregate": "count" }
}

Customize Colors

{
  "type": "text",
  "content": "+20.1%",
  "className": "text-emerald-500"
}

Add Actions

A control that runs something is its own node type, action:button, and its props go in the properties bag; actionType: "url" navigates to target:

{
  "type": "action:button",
  "properties": {
    "label": "View Details",
    "actionType": "url",
    "target": "/dashboard/details"
  }
}

Next Steps

On this page