Skip to content
Data & ChartsPro

Bar Chart

Compares categorical data with grouped or stacked bars.

Usage

Active users

349k

6.4%this week

Installation

Bar Chart comes with WunderUI Core and Pro, in the package from your plan. See the plans.

Then import what you need:

tsx
import { BarChart } from "@wunderui/react"

Examples

Grouped

Two series side by side per month.

Stacked

Two series in one bar per month (stacked).

Horizontal bars

The bars run left to right (layout="vertical").

Without grid and axes

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

Type 01

All 48 Bar 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.

Bar Charts

EarningsTotal Profits

Type 02

Bar Charts

EarningsTotal Profits

Type 03

Bar Charts

Total Profits

Type 04

Bar Charts

Total Profits

Type 05

Bar Charts

Total Profits

Type 06

Bar Charts

Total ProfitsTotal ProfitsTotal Profits

Type 07

Bar Charts

Current Month

Type 08

Bar Charts

Total Profits

Type 09

Bar Charts

Earnings

Type 10

Bar Charts

Earnings

Type 11

Bar Charts

Total Profits

Type 12

Bar Charts

IncomeExpenses

Type 13

Bar Charts

Total Profits

Type 14

Bar Charts

Earnings

Type 15

Bar Charts

Total Profits

Type 16

Bar Charts

Total ProfitsTotal ProfitsTotal Profits

Type 17

Bar Charts

Total Profits

Type 18

Bar Charts

Total Profits

Type 19

Bar Charts

Earnings

Type 20

Bar Charts

Total Profits

Type 21

Bar Charts

Total Profits

Type 22

Bar Charts

Expenses

Type 23

Bar Charts

Total Profits

Type 24

Bar Charts

Total Profits

Type 25

Bar Charts

Earnings

Type 26

Bar Charts

Total Profits

Type 27

Bar Charts

Total Profits

Type 28

Bar Charts

Total Profits

Type 29

Bar Charts

EarningsTotal Profits

Type 30

Bar Charts

Income

Type 31

Bar Charts

Total Profits

Type 32

Bar Charts

Earnings

Type 33

Bar Charts

Total Profits

Type 34

Bar Charts

Income

Type 35

Bar Charts

Total Profits

Type 36

Bar Charts

Total Profits

Type 37

Bar Charts

EarningsTotal Profits

Type 38

Bar Charts

Income

Type 39

Bar Charts

Earnings

Type 40

Bar Charts

Total Profits

Type 41

Bar Charts

Total Profits

Type 42

Bar Charts

Total Profits

Type 43

Bar Charts

Earnings

Type 44

Bar Charts

Total ProfitsIncome

Type 45

Bar Charts

Total ProfitsIncome

Type 46

Bar Charts

Total ProfitsIncomeExpenses

Type 47

Bar Charts

Total ProfitsIncomeExpenses

Type 48

Bar Charts

Total Profits

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%