/syncfusion-react:syncfusion-react-sparklinefrom Syncfusion React UI Components
Implement Syncfusion React Sparkline components for compact, inline data visualization. Use this when working with sparklines, mini charts, or trend indicators in constrained spaces. This skill covers all 5 sparkline types (line, column, area, win-loss, pie), tooltips, markers, data labels, range bands, axis customization, and themes. Ideal for displaying data trends within grids, dashboards, or tables without full-sized charts.
Ships in Syncfusion React UI Components. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A comprehensive guide for implementing Syncfusion React Sparkline components - lightweight, compact charts designed to visualize data trends in minimal space without axes or coordinates.
Use this skill when you need to:
The Syncfusion React Sparkline is a highly condensed chart component that presents data in a simple, compact format. Key features include:
📄 Read: references/getting-started.md
@syncfusion/ej2-react-charts)📄 Read: references/sparkline-types.md
📄 Read: references/appearance-customization.md
📄 Read: references/data-labels.md
📄 Read: references/markers.md
📄 Read: references/user-interaction.md
📄 Read: references/advanced-features.md
📄 Read: references/accessibility.md
📄 Read: references/api-reference.md
SparklineComponent: props, events, methods, child directives, and a usage example (based on the official Syncfusion React Sparkline API).npm install @syncfusion/ej2-react-charts --save
import { SparklineComponent } from '@syncfusion/ej2-react-charts';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
function App() {
const data = [0, 6, 4, 1, 3, 2, 5];
return (
<SparklineComponent
dataSource={data}
type="Line"
height="150px"
width="300px"
/>
);
}
export default App;
ReactDOM.render(<App />, document.getElementById('charts'));
import { SparklineComponent, Inject, SparklineTooltip } from '@syncfusion/ej2-react-charts';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
function App() {
const data = [0, 6, 4, 1, 3, 2, 5];
return (
<SparklineComponent
dataSource={data}
type="Area"
height="150px"
width="300px"
tooltipSettings={{ visible: true, format: '${x} : ${y}' }}
>
<Inject services={[SparklineTooltip]} />
</SparklineComponent>
);
}
export default App;
ReactDOM.render(<App />, document.getElementById('charts'));
import { SparklineComponent } from '@syncfusion/ej2-react-charts';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
function ColumnSparkline() {
const data = [3, 6, 4, 1, 3, 2, 5];
return (
<SparklineComponent
dataSource={data}
type="Column"
height="150px"
width="300px"
markerSettings={{ visible: ['High', 'Low'] }}
highPointColor="green"
lowPointColor="red"
/>
);
}
export default ColumnSparkline;
ReactDOM.render(<ColumnSparkline />, document.getElementById('charts'));
import { SparklineComponent } from '@syncfusion/ej2-react-charts';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
function WinLossSparkline() {
const data = [12, 15, -10, 13, 15, 6, -12, 17, 13, 0, 8, -10];
return (
<SparklineComponent
dataSource={data}
type="WinLoss"
height="150px"
width="300px"
tiePointColor="blue"
/>
);
}
export default WinLossSparkline;
ReactDOM.render(<WinLossSparkline />, document.getElementById('charts'));
import { SparklineComponent } from '@syncfusion/ej2-react-charts';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
function SparklineWithLabels() {
const data = [0, 6, 4, 1, 3, 2, 5];
return (
<SparklineComponent
dataSource={data}
type="Line"
height="150px"
width="300px"
dataLabelSettings={{
visible: ['Start', 'End'],
border: { color: 'blue', width: 1 },
fill: 'blue',
opacity: 0.4,
textStyle: { color: 'white' }
}}
/>
);
}
export default SparklineWithLabels;
ReactDOM.render(<SparklineWithLabels />, document.getElementById('charts'));
import { SparklineComponent } from '@syncfusion/ej2-react-charts';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
function SparklineWithRangeBand() {
const data = [0, 6, 4, 1, 3, 2, 5];
return (
<SparklineComponent
dataSource={data}
type="Area"
height="150px"
width="300px"
rangeBandSettings={[
{ startRange: 1, endRange: 3, color: '#bfd4fc', opacity: 0.4 }
]}
/>
);
}
export default SparklineWithRangeBand;
ReactDOM.render(<SparklineWithRangeBand />, document.getElementById('charts'));
| Property | Type | Description |
|---|---|---|
dataSource | object[] | Data for the sparkline |
type | string | Sparkline type: 'Line', 'Column', 'Area', 'WinLoss', 'Pie' |
xName | string | Property name for x-axis from dataSource |
yName | string | Property name for y-axis from dataSource |
height | string | Height of the sparkline |
width | string | Width of the sparkline |
fill | string | Color of the sparkline |
valueType | string | Axis value type: 'Numeric', 'Category', 'DateTime' |
markerSettings | object | Configuration for markers |
dataLabelSettings | object | Configuration for data labels |
tooltipSettings | object | Configuration for tooltips |
axisSettings | object | Axis min/max and line customization |
rangeBandSettings | object[] | Range band configurations |
theme | string | Theme: 'Material', 'Fabric', 'Bootstrap', 'Highcontrast' |
padding | object | Padding around sparkline (left, right, top, bottom) |
containerArea | object | Border and background for sparkline area |
references/getting-started.md for installation and basic setupreferences/sparkline-types.md to select the right sparkline typereferences/appearance-customization.md for stylingreferences/user-interaction.md for tooltips and track linesreferences/advanced-features.md for axis, range bands, and morereferences/accessibility.md (opens in a new tab)references/advanced-features.md (opens in a new tab)references/api-reference.md (opens in a new tab)references/appearance-customization.md (opens in a new tab)references/data-labels.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/markers.md (opens in a new tab)references/sparkline-types.md (opens in a new tab)references/user-interaction.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-react65 skills in this plugin
/syncfusion-react-3d-chartImplement Syncfusion React 3D Chart component from the @syncfusion/ej2-react-charts package. Use this skill when users need 3D column, bar, stacked column, stacked bar, or 100% stacked chart variations. Covers Chart3DComponent, axis configuration (category, numeric, datetime, logarithmic), data binding, multiple panes, data labels, legends, tooltips, selection, print/export, theming, and accessibility./syncfusion-react-3d-circular-chartImplements the Syncfusion React 3D Circular Chart component for pie and donut chart visualization. Use this when users need 3D circular charts, data labels, legends, tooltips, or empty point handling. Guides through installation, configuration, customization, and troubleshooting of 3D Circular Charts in React applications./syncfusion-react-accordionGuide users to implement Syncfusion React Accordion component for collapsible content panels. Use this skill whenever the user needs to create expandable/collapsible sections, accordion layouts, tabbed content panels, multi-step forms, FAQs, or navigation with expandable items. Covers component setup, expand modes, animations, dynamic content loading, styling, events, lifecycle, React hooks integration, and complete API reference.
Other plugins' skills for the same job