A candlestick chart, watchlist and trade ticket with live prices and order guards.
Import it and pass your content. The props that matter most are listed next.
import { MarketTerminal, type MarketSymbol, type OrderRequest } from "@/components/ui/notchset/blocks/market-terminal";
export function Terminal({ symbols }: { symbols: MarketSymbol[] }) {
return (
<MarketTerminal
symbols={symbols}
holdings={{ RLY: 120 }}
buyingPower={24860.35}
onOrder={async (order: OrderRequest) => {
const res = await fetch("/api/orders", { method: "POST", body: JSON.stringify(order) });
return ((await res.json()) as { status: "filled" | "working" }).status;
}}
/>
);
}symbols–
{ ticker, name, price, prevClose, open, high, low, volume, series }[]series maps each range id to candles { t, o, h, l, c, v }; the last candle follows price.
holdings / buyingPower–
Record<ticker, number> / numberWhat the ticket checks orders against; filled orders update both.
live / onLiveChange–
boolean / (live) => voidThe LIVE / PAUSED button; stream quotes into symbols while live.
onOrder / onCancel–
(order) => Promise<'filled' | 'working'> / (order) => voidPlace and cancel orders on your broker (simulated by default).
ranges / exchange / note–
{ id, label }[] / string / stringRange control (1D–1Y), the exchange line and the ticket's footnote.
MarketTerminaldata-slot="market-terminal"
Header, chart with readout, watchlist and trade ticket.
components/ui/notchset/blocks/market-terminal.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
pnpm dlx shadcn@latest add @beautiful-ui-pro/market-terminalNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://beautiful-ui.dev/api/mcp (setup)v1.0.0 · 2026-10-04
First release
Pro is in early access.