Dev Design Library

Chart States

Loading skeletons, empty states and error states for every chart — one wrapper, six skeleton shapes, and a frame height that never shifts between them.

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

Categories

More from Spectrum UI