Sparkline
The Sparkline component is a line chart that displays the price of a token over time.
Installation
1. Install SolanaUI Sparkline
Copy the code below to src/components/sol/sparkline.tsx.
2. Install SolanaUI PriceChange
The Sparkline component requires the PriceChange component. Copy the code below to src/components/sol/price-change.tsx.
3. Use Sparkline
Import the Sparkline component and use it in your app.