Evaluate Essential Studio for Pure React free.Start building today.
Add Syncfusion Pure React components to your app.
Use a package manager to add Syncfusion Pure React components to your application now, or download Syncfusion Studio to browse samples and binaries on your desktop.
Install the Syncfusion® React Charts Package
Install the React Charts package using npm:
npm install @syncfusion/react-charts
Register your trial license key
Register the license key in your app entry file (for example, src/main.tsx) before you render any Syncfusion component.
import { registerLicense } from '@syncfusion/react-base';
registerLicense('YOUR_LICENSE_KEY');
Add the required CSS references
Import the required Syncfusion styles into the src/App.css file.
@import '../node_modules/@syncfusion/react-base/styles/material.css';
Add the Chart Component
To include the Chart component in your application, import the Chart and its child components from the @syncfusion/react-charts package in the src/App.tsx file. Then, add the Chart component to your application as shown in the code example below.
import { Chart, ChartPrimaryXAxis, ChartSeriesCollection, ChartSeries, ChartTitle } from "@syncfusion/react-charts";
export default function App() {
const salesData: object[] = [
{ month: 'Jan', sales: 35 }, { month: 'Feb', sales: 32 },
{ month: 'Mar', sales: 34 }, { month: 'Apr', sales: 35 },
{ month: 'May', sales: 37 }, { month: 'Jun', sales: 35 },
{ month: 'Jul', sales: 36 }, { month: 'Aug', sales: 40 },
{ month: 'Sep', sales: 38 }, { month: 'Oct', sales: 35 },
{ month: 'Nov', sales: 33 }, { month: 'Dec', sales: 31 }
]
return (
<Chart>
<ChartPrimaryXAxis valueType="Category" />
<ChartTitle text="Sales Analysis" />
<ChartSeriesCollection>
<ChartSeries dataSource={salesData} xField="month" yField="sales" type="Column" />
</ChartSeriesCollection>
</Chart>
);
}
Search a control. Copy its install command.
Search 245 controls across 14 platforms. Each command comes from that control’s getting-started guide, and every package is checked on NuGet, npm, or pub.dev.
Loading controls…
Evaluate faster with your coding agent.
Paste this prompt into GitHub Copilot, Claude Code, Cursor, or any agent. It sets up Syncfusion for your project from ai.syncfusion.com before it writes code.
Set up this project for Syncfusion before generating code. Fetch and follow the official instructions at https://ai.syncfusion.com then report the detected platform, installed skills, MCP status, and any required licensing action.
No key needed to install the skills. The MCP servers use the API key that comes with a free account. Agent setup guides
AI assistants
IDEs
Short, task-first walkthroughs.
Need help getting started?
Explore our resources or reach out to our support team for assistance.
Product Updates
Technical Support
Syncfusion Studio for your desktop.
One small download. Browse every product, download samples and binaries, and set up your IDE and AI assistant.