Eight dependency-free financial chart components in one file, each exported on its own, plus a live demo page: CandlestickChart with zoom, pan, crosshair, volume and moving averages, AreaRangeChart, Sparkline, MarketHeatmap treemap, PortfolioDonut, TickerTape, DepthChart and GaugeMeter. Data driven, accessible and responsive.
Included in Standard and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { FinancialChartsPack } from "@/components/hyperblur-pro/financial-charts-pack"
import { CandlestickChart, generateCandles } from "./financial-charts-pack";
<CandlestickChart candles={generateCandles(200, 100)} height={340} />| Prop | Type | Default | Description |
|---|---|---|---|
| live | boolean | true | FinancialChartsPack demo only: stream simulated data into every chart. Pauses offscreen and slows under reduced motion. |
| accent | string | "#6c7dff" | FinancialChartsPack demo only: accent color for the range chart and focus rings. |
| CandlestickChart | { candles: FinancialCandle[]; height?: number; showVolume?: boolean; showMovingAverages?: boolean; upColor?: string; downColor?: string; autoCrosshair?: boolean; dailyLabels?: boolean; label?: string } | Exported component. Wheel zoom, drag pan, keyboard, crosshair with OHLC readout, volume, MA7 and MA25. Use generateCandles() for sample data. | |
| AreaRangeChart | { data: FinancialRangePoint[]; height?: number; color?: string; valuePrefix?: string; label?: string } | Exported component. Min/max band with a mid line and a hover tooltip. | |
| Sparkline | { data: number[]; width?: number; height?: number; color?: string; area?: boolean; dot?: boolean; label?: string } | Exported component. Tiny trend line that turns green or red from the data direction. | |
| MarketHeatmap | { items: FinancialHeatItem[]; height?: number; onTileSelect?: (item) => void; label?: string } | Exported component. Treemap sized by weight and colored by percent change; tiles are buttons. | |
| PortfolioDonut | { segments: FinancialDonutSegment[]; size?: number; centerLabel?: string; centerValue?: string; showLegend?: boolean } | Exported component. Donut with hover or tap highlight and a legend. | |
| TickerTape | { items: FinancialTickerItem[]; duration?: number } | Exported component. Endless quote marquee that pauses on hover and scrolls manually under reduced motion. | |
| DepthChart | { bids: FinancialDepthLevel[]; asks: FinancialDepthLevel[]; height?: number; upColor?: string; downColor?: string } | Exported component. Cumulative bid and ask depth with a hover readout. | |
| GaugeMeter | { value: number; min?: number; max?: number; zones?: FinancialGaugeZone[]; title?: string; size?: number } | Exported component. Semicircle gauge with colored zones, ticks and an animated needle. |
Source code is included in Standard and above