Back to dashboards
ComponentChartFree

Candlestick Chart React component

A trading-style candlestick chart: OHLC candles with a volume panel, a moving average, 1M / 3M / 6M range tabs, a last-price marker, and a crosshair with price and date pills plus a live OHLC readout.

About the Candlestick Chart component

Candlestick Chart is a trading-style price chart: each candle shows a period's open, high, low and close, coloured by whether it closed up or down, with traded volume in a panel underneath and a moving average to show the trend.

Switch between 1M, 3M and 6M, read any candle through the crosshair (with the price under your pointer on the axis), and see the latest price tagged on the axis.

When to use it

Use it for stock, crypto and FX dashboards, portfolio and brokerage apps, commodity or pricing analytics, anything where open, high, low and close all matter.

For a single price over time a line or area chart is simpler; candlesticks earn their place when traders need the full range of each period.

Installation

Add the Candlestick Chart component to your project with the shadcn CLI. It lands in components/candlestick-chart.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/candlestick-chart

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Chart components

Funnel Chart
Free
Bubble Chart
Free
Waterfall Chart
Free
Scatter Plot
Free
Treemap Chart
Free
Combo Chart
Free