Pace UI

Moving Average Line Chart

Dashboards 3

About

A line chart showing smoothed 7-day rolling-window moving averages for daily high and low values, with themed tooltips and a dashed threshold line.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Moving Average Line Chart to your project and fits it to your theme.

Code

How Moving Average Line Chart is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import MovingAverageLine from "@/components/ui/tanstack-charts-moving-average-line";

export default function MovingAverageLineDemo() {
  return (
    <div className="flex w-full items-center justify-center p-8">
      <MovingAverageLine />
    </div>
  );
}

Dependencies

More by Pace UI

View all
  • Dot Loader

    Dot Loader

    960
  • Flip Reveal

    Flip Reveal

    669
  • Dot Flow

    Dot Flow

    267
  • Draw Line Text

    Draw Line Text

    119
  • Liquid Glass

    Liquid Glass

    62
  • Liquid Cursor

    Liquid Cursor

    51
  • Layered Stack

    Layered Stack

    46
  • Calendar Heatmap Chart

    Calendar Heatmap Chart

    10

More in Dashboards

View all
  • Creator Dashboard

    Creator Dashboard

    94
  • serf dashboard

    serf dashboard

    84
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.6K
  • Glass Dashboard

    Glass Dashboard

    1.1K
  • Adjustable Glass Dashboard

    Adjustable Glass Dashboard

    1.2K
  • App Dashboard Layout

    App Dashboard Layout

    572
  • Sidebar

    Sidebar

    422
  • Dashboard Shell

    Dashboard Shell

    215