Bklit UI
examplecandlestick-chart-examplesource: ok · hit
Candlestick Chart Example
Composable candlestick-chart demo for Open in v0
npx shadcn add "https://ui.bklit.com/r/candlestick-chart-example.json"free
No selection tags yet — empty means no evidence, not lack of support.
Dependencies
Bundle weight · mediumanimationmotion
Registry dependencies
@bklit/candlestick-chart@bklit/grid@bklit/x-axis@bklit/y-axis@bklit/chart-tooltip
Files2 · source cached 10/9/2026, 1:58:51 PM
registry/examples/candlestick-chart.tsx
"use client"
// In your app (monorepo/npm): import { CandlestickChart, Candlestick, Grid, XAxis, YAxis, ChartTooltip } from "@bklitui/ui/charts"
import { CandlestickChart, Candlestick, Grid, XAxis, YAxis, ChartTooltip } from "@/components/charts"
const ohlcData = [
{ date: new Date("2024-01-02"), open: 100, high: 108, low: 98, close: 105 },
{ date: new Date("2024-01-03"), open: 105, high: 110, low: 102, close: 103 },
{ date: new Date("2024-01-04"), open: 103, high: 112, low: 101, close: 110 },
{ date: new Date("2024-01-05"), open: 110, high: 115, low: 107, close: 108 },
];
export default function Component() {
return (
<main className="flex min-h-svh w-full items-center justify-center p-6 md:p-10">
<div className="w-full max-w-3xl">
<CandlestickChart data={ohlcData}>
<Grid horizontal vertical />
<Candlestick />
<XAxis />
<YAxis />
<ChartTooltip />
</CandlestickChart>
</div>
</main>
)
}
registry/examples/candlestick-chart-index.ts
// biome-ignore-all lint/performance/noBarrelFile: v0 registry example barrel for shadcn install
export { CandlestickChart } from "./candlestick-chart";
export { Candlestick } from "./candlestick";
export { Grid } from "./grid";
export { XAxis } from "./x-axis";
export { YAxis } from "./y-axis";
export { ChartTooltip } from "./tooltip";