Skip to content
UI Brok

Loading…

No results

Browse catalog

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.

Metric Revenue Open

Preview

Viewport
Open full screen

Installation

terminal
php artisan ui:add blocks/metrics-02

Installs these dependencies automatically:

Usage

Render the block as a component, passing data where useful:

resources/views/welcome.blade.php Blade
<x-blocks.metrics-02 />

Built from primitives

Composes <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 Revenue ships as a core open block. See the site changelog for the full release history.