React Financial Charts

Professional financial charts for trading dashboards and portfolio apps. Candlestick, OHLC, volume bars, waterfall charts, and technical indicators. Real-time data streaming, zoom/pan, and Tailwind CSS styling.

$npm install @chartts/react
example.tsx
import { CandlestickChart } from "@chartts/react"

export function TradingView() {
  return (
    <div className="rounded-xl card p-4">
      <CandlestickChart
        data={ohlcData}
        x="date"
        open="open"
        high="high"
        low="low"
        close="close"
        volume="volume"
        overlays={[
          { type: "sma", period: 20 },
          { type: "ema", period: 50 },
          { type: "bollinger", period: 20 },
        ]}
        className="h-96"
        upClassName="fill-emerald-500"
        downClassName="fill-red-500"
      />
    </div>
  )
}

Features

Candlestick and OHLC charts
Volume bars with color coding
Technical indicators (SMA, EMA, Bollinger)
Real-time data streaming
Zoom and pan with time axis
Waterfall charts for P&L analysis
Under 15kb for all financial charts