SL

Matte Metric Display

Dashboards

About

A dark matte metric card that shows a headline number with an animated sparkline and trend, with segmented buttons to switch the comparison period (7/30/90 days). Ported to React from SL UI Library's vanilla HTML/CSS/JS "data display" component (MIT, credit SLtowl).

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Matte Metric Display to your project and fits it to your theme.

Code

How Matte Metric Display is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import MetricDisplay from "@/components/ui/matte-metric-display";

export default function MatteMetricDisplayDemo() {
  return (
    <div
      className="flex min-h-screen w-full items-center justify-center p-5"
      style={{ background: "#efefef" }}
    >
      <MetricDisplay />
    </div>
  );
}

More by SL

View all
  • Playback Scrubber

    Playback Scrubber

    68
  • Matte Alert Feedback

    Matte Alert Feedback

    49
  • Notification Stack

    Notification Stack

    40
  • Time Window Slider

    Time Window Slider

    32
  • Matte Meter Slider

    Matte Meter Slider

    21
  • Commands Menu

    Commands Menu

    18
  • Matte Opacity Slider

    Matte Opacity Slider

    15
  • Undo Feedback

    Undo Feedback

    12

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    751
  • Analytics Dashboard

    Analytics Dashboard

    81
  • Creator Dashboard

    Creator Dashboard

    216
  • Insights Dashboard

    Insights Dashboard

    44
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    446
  • serf dashboard

    serf dashboard

    144
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    65