Price Change
The PriceChange component displays the change of a price over time.
Click to toggle between % and $
Price Change
+0.11%
Installation
Install Murphy PriceChange
pnpm dlx shadcn@canary add https://www.murphyai.dev/r/price-change.json
Basic Usage
Props
Name | Type | Default |
---|---|---|
data | { timestamp: number; price: number }[] | [] |
type | "%" | "$" | % |