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 TrendArrowInlineDemo() {
return (
<div className="flex min-h-32 items-center justify-center text-base">
{/* size the glyph in em so it rides the surrounding type */}
<span>
Errors{" "}
<TrendArrow
value={0.4}
positive="down"
style={{ width: "1em", height: "1em" }}
/>
</span>
</div>
);
}















