# Market Snapshot

> A stock price card with periods from 1D to All and a line chart you scrub for the price at any moment, for broker and market apps.

A React component for shadcn/ui and Tailwind CSS, from ssych ui (https://ssych.com). Free, MIT licensed, the source lands in your repo.

## Install

```bash
npx shadcn@latest add @ssych/market-snapshot
```

npm dependencies: clsx, lucide-react, motion, tailwind-merge

## Props

`<MarketSnapshot />`

- `symbol?`: `string`
- `name?`: `string`
- `values?`: `number[]`
- `exchange?`: `string`
- `updatedAt?`: `string`

## Where it belongs

- Trading UI: Dark trading interface components for React and Tailwind: swap tickets, holdings tables, blotters, tapes and candlestick charts. (https://ssych.com/library/s/trading-ui)
- Dashboard: Dark dashboard components for React, Next.js and Tailwind: KPI rows, heatmaps, balance charts, gauges and the navigation around them. (https://ssych.com/library/s/dashboard)
- Candlestick chart: Candlestick and price chart components for React and Tailwind: candles with volume, moving averages, volume profile and range selection, all in SVG. (https://ssych.com/library/s/candlestick-chart)

## Related

- Swap Ticket: https://ssych.com/library/swap-ticket.md
- Holdings Table: https://ssych.com/library/holdings-table.md
- Fills Blotter: https://ssych.com/library/fills-blotter.md
- Trade Tape: https://ssych.com/library/trade-tape.md
- Ticker Tape: https://ssych.com/library/ticker-tape.md
- Candlestick Chart: https://ssych.com/library/candlestick.md
- Balance Header: https://ssych.com/library/balance-header.md
- Trade Journal Table: https://ssych.com/library/trade-journal-table.md

## Links

- Live preview and code: https://ssych.com/library/market-snapshot
- Source: https://github.com/savvasicevs/ssych-ui
- All components: https://ssych.com/llms-full.txt
