Skip to content
Data & ChartsPro

Line Chart

Plots one or more series as smooth or linear lines.

Usage

Monthly revenue

$94k

46.9%vs 2025

20262025

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
import { LineChart, LineChartReferenceLine } from "@wunderui/react"

Examples

Straight

Straight segments between the points.

Curved

A smooth curve through the points (curved).

With dots

Two series with a dot on every point (showDots).

Without grid and axes

Only the curve: showGrid={false} and showAxis={false}.

Type 01

All 27 Line Chart cards of the Figma library, one per box, each loading the way it does on a page: the skeleton first, then the series draw themselves in. Replay brings the loading state back.

Line Charts

EarningsTotal Profits

Type 02

Line Charts

IncomeExpensesProfit

Type 03

Line Charts

Total Profits

Type 04

Line Charts

Earnings

Type 05

Line Charts

Total Profits

Type 06

Line Charts

Total Profits

Type 07

Line Charts

Current Month

Type 08

Line Charts

A

Type 09

Line Charts

Earnings

Type 10

Line Charts

Total Profits

Type 11

Line Charts

ABC

Type 12

Line Charts

IncomeExpenses

Type 13

Line Charts

Earnings

Type 14

Line Charts

Earnings

Type 15

Line Charts

Total Profits

Type 16

Line Charts

Total ProfitsTotal ProfitsTotal Profits

Type 17

Line Charts

IncomeExpensesProfit

Type 18

Line Charts

Total Profits

Type 19

Line Charts

Expenses

Type 20

Line Charts

EarningsTotal Profits

Type 21

Line Charts

EarningsTotal Profits

Type 22

Line Charts

EarningsTotal Profits

Type 23

Line Charts

EarningsTotal Profits

Type 24

Line Charts

ABC

Type 25

Line Charts

EarningsTotal Profits

Type 26

Line Charts

Total Profits

Type 27

Line Charts

Total Profits

Type 28

Figma trading tiles (sample data): a big value header with TrendChip, Segment xs ranges, badge legends and actions. Each chart appears as it scrolls into view — the box fades and rises in, lines draw left to right, fills fade in after them, candles grow from their baseline.

Portfolio value

$127,193.85USD

+$2,450.34+1.96%24h
PortfolioBTC benchmark

Type 29

Market dominance

Share of total market cap

BitcoinEthereumOthers

Type 30

Seasonal market overview

Total market cap vs. last year, sample data

This yearLast year

Type 31

Total market volume

$95.18B−3.12%
SpotDerivatives

Type 32

RSI (14)

Relative strength index · 58.2

In context

How the component is used inside real screens — the same compositions as the Usage section of the Figma page.

Revenue

An area chart under the headline number and its trend.

Revenue

$85k

12.4%last 6 months

Revenue vs cost

Grouped bars with legend chips; hovering a month dims the others.

Revenue vs cost

Grouped by month

RevenueCost

Trend

A curved line that draws itself in, with the value it ends on.

Trend

85

+43 since Jan

Mixed

Bars for cost and a line for revenue in one card.

Mixed

Bars and line

CostRevenue

Traffic sources

A donut with its legend; hovering a slice or a legend row puts its share in the middle.

Traffic sources

Share of sessions

Sessions48,230
  • Direct42%
  • Referral28%
  • Social18%
  • Other12%

Team profile

Two teams on one radar, with legend chips.

Team profile

Two teams compared

Team ATeam B

Completion

Radial shares of one goal.

Completion

Radial share

Audience

The radial gauge in the same card.

Audience

Share of sessions

  • Audience46%
  • Earnings24%
  • Visitors7%