Bar List Card
The analytics breakdown list - traffic by device, browser, OS, country, or source as ranked rows whose background bars encode each item's share, label on the bar, metric on the right. Our underline Tabs switch between lists, the metric caption sits on the same baseline, and long lists fade behind a small pill that expands the rest so the card grows with them.
Visitors
Provided data| Category | Value |
|---|---|
| Desktop | 61 |
| Mobile | 31 |
| Tablet | 8 |
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="bar-list-card"/>;}Tabbed lists
Define tabs as objects containing an ID, label and item list. Items can include a small icon, flag or site mark. Percentages use the active tab’s total, while each bar is scaled against that tab’s largest value.
Visitors
Provided data| Category | Value |
|---|---|
| United States of America | 3,120 |
| India | 2,160 |
| Brazil | 1,400 |
| Japan | 980 |
| Türkiye | 960 |
| Germany | 760 |
| France | 620 |
| United Kingdom | 480 |
| Canada | 240 |
| Australia | 180 |
'use client';
import {SourceChartPreview} from '@helios-ui/react';
import '@helios-ui/react/styles.css';
export default function Example(){return <SourceChartPreview id="bar-list-card" example="tabs"/>;}Single list and mono
Pass items and title for a standalone list without tabs. Choose metric="value" to display amounts directly instead of shares. mono uses one neutral color for the complete list.
Pages
Provided data| Category | Value |
|---|---|
| / | 12,480 |
| /pricing | 6,210 |
| /components | 4,880 |
| /blog/launch | 2,140 |
| /docs | 1,260 |
Visitors
Provided data| Category | Value |
|---|---|
| Desktop | 61 |
| Mobile | 31 |
| Tablet | 8 |
'use client';
import {SourceChartPreview} from '@helios-ui/react';
import '@helios-ui/react/styles.css';
export default function Example(){return <SourceChartPreview id="bar-list-card" example="single"/>;}