design-infraGitHub
Report a problem or share feedback← Catalog

Recharts · Line chart

curatedfree

recharts/line

Compare measured trends over time.

$pnpm add recharts

npm deps: recharts

Our notes

Integration recipe: the command installs the library, not a standalone finished component. Adapt the linked upstream API/example to your data and brand. Prefer existing shadcn chart blocks when they fit. Use the package for custom compositions; preserve units, readable axes and an accessible data alternative. Upstream: https://github.com/recharts/recharts. License: MIT. Package metadata: recharts@3.10.1; peers: react ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0; react-is ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0; react-dom ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0. Runtime integration is not verified by this metadata sync.
Source
Recharts
Kind
component
Categories
chart
Use as
recipe — technique you apply to your own markup
Applies to
chart
Motion
not tagged (static or unknown)
Tags
data-visualization, visualization-reference, svg, integration-recipe, line
Licence
MIT; retain the upstream license and notices. Hosted commercial products/examples are separate.
Live demo
recharts.github.io
Docs
recharts.github.io