ganapativs

Trend Arrow

Dashboards

About

A tiny SVG direction glyph (up/down/flat arrow) for showing whether a metric moved, with an optional noise-floor band and formatted value label for table cells and dashboards.

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

Code

How Trend Arrow is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { TrendArrow } from "@/components/ui/trend-arrow";

export default function TrendArrowDemo() {
  return (
    <div className="flex min-h-32 items-center justify-center">
      <TrendArrow
        value={-0.08}
        positive="down"
        title="Latency vs last week"
        style={{ width: 32, height: 32 }}
      />
    </div>
  );
}

More by ganapativs

View all
  • SparkBar

    SparkBar

  • Delta Indicator

    Delta Indicator

  • Dumbbell Chart

    Dumbbell Chart

  • Calendar Strip

    Calendar Strip

  • Rate Volume Chart

    Rate Volume Chart

  • Activity Grid

    Activity Grid

  • Heat Strip

    Heat Strip

More in Dashboards

View all
  • Creator Dashboard

    Creator Dashboard

    75
  • serf dashboard

    serf dashboard

    75
  • 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

    560
  • Chart Component

    Chart Component

    43
  • Sidebar

    Sidebar

    421