The line chart from the dashboard - a Recharts line over a soft area gradient, Weekly/Monthly/Yearly switcher, delta chip, and a count-up headline with a pulsing active dot that follows the cursor. Curved by default; one prop switches to sharp, straight-segment corners.
Revenue
Provided data
₹18,240+9.4%
Provided headline · Weekly. Data supplied by the application.
Revenue: illustrative source-shaped fixture data
Category
Value
Jan
₹1,400
Feb
₹1,900
Mar
₹2,600
Apr
₹2,300
May
₹3,400
Jun
₹3,100
Jul
₹2,700
Aug
₹3,800
Sep
₹4,600
Oct
₹4,200
Nov
₹3,600
Dec
₹5,200
Installation
Download the React source package, install its dependencies, and import the component with its shared styles.
'use client';
import {SourceChartPreview} from '@helios-ui/react';
import '@helios-ui/react/styles.css';
export default function Example(){return <SourceChartPreview id="line-chart-card"/>;}
Sharp corners
Set shape="sharp" to connect measurements with straight segments. The gradient, point markers and hover behavior remain the same. This is useful when the connecting line should avoid suggesting smooth interpolation between measurements.
Revenue
Provided data
₹18,240+9.4%
Provided headline · Weekly. Data supplied by the application.