Dev Design Library

Portfolio Chart

Account value against cost basis with drawdown from the running peak shaded underneath.

Portfolio Chart preview
Library
Spectrum UI
Framework
React
Type
component
License
Apache-2.0
Install
npx shadcn@latest add @spectrumui/portfolio-chart
Files
  • app/registry/charts/chart-engine.tsx
  • app/registry/charts/portfolio-chart.tsx
  • lib/utils.ts
Source
https://github.com/arihantcodes/spectrum-ui

Categories

More from Spectrum UI