About
A trading-desk price chart rendered in pure SVG with OHLC candles, a volume pane, a snapping crosshair showing axis-pinned price and time, a range selector (1W/1M/3M/6M/1Y/ALL) that morphs the series, and an optional live-updating tape.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Market Chart to your project and fits it to your theme.
Code
How Market Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import MarketChart from "@/components/ui/market-chart";
export default function MarketChartDemo() {
return (
<div className="flex w-full items-center justify-center p-6">
<div className="w-full max-w-2xl rounded-xl border border-neutral-200 bg-white p-5 dark:border-neutral-800 dark:bg-neutral-950">
<MarketChart />
</div>
</div>
);
}








