Metrics
Dashboard analytics cards — a traffic trend card with a range control, a KPI performance row with sparklines, a sales-by-channel distribution and a weekly-traffic heatmap.
Preview
Installation
php artisan ui:add blocks/metrics-04
Installs these dependencies automatically:
Usage
Render the block as a component, passing data where useful:
<x-blocks.metrics-04 />
Built from primitives
<x-ui.*>
Semantic tokens
Re-themeable
RTL-ready
This block composes installed <x-ui.*> primitives and semantic design
tokens only — it does not reimplement any primitive. Re-theme it (light, dark, admin, customer) by
editing CSS variables; flip the preview to RTL to confirm it mirrors.
Source
The exact, editable file ui:add writes
into your app. The preview above renders this same source — there are no preview-only blocks.
Changelog
Metric Heatmap ships as a core open block. See the site changelog for the full release history.