Intentwise Primitives

Indicators

Small inline components for showing trends, progress, and micro-charts. These are commonly embedded within cards, tables, and other larger components.

TrendBadge

Variants

TrendBadge shows a value with a directional arrow. Supports positive, negative, and neutral trends.

12.5%MoM

Positive

8.3%MoM

Negative

0.0%MoM

Neutral

2.1%ACoS

Inverted (ACoS)

Show code
<TrendBadge data={{ value: 12.5, format: 'percent', trend: 'up', label: 'MoM' }} />

Sizes

Available in sm, md, and lg sizes.

12.5%MoM

sm

12.5%MoM

md

12.5%MoM

lg

Show code
<TrendBadge data={data} size="sm" />
<TrendBadge data={data} size="md" />
<TrendBadge data={data} size="lg" />

Pill Variant

Use variant='pill' for a pill-shaped badge with background color.

12.5%8.3%0.0%
Show code
<TrendBadge data={data} variant="pill" />

SparkLine

Variants

Compact inline charts — commonly embedded in table cells. Supports auto-coloring based on trend direction.

Show code
<SparkLine data={{ values: [10, 15, 12, 18, 22] }} autoColor />

SparkBar

Mini Bar Charts

Compact bar charts for inline use in tables and cards. Supports auto-coloring and max value highlighting.

Show code
<SparkBar data={{ values: [10, 20, 15, 25, 18] }} autoColor />

ProgressBar

With Status Colors

ProgressBar shows progress toward a goal with status-based coloring (good, warning, critical).

Ad Spend Pacing45.0%
Budget Utilization72.0%
Over Target95.0%
Show code
<ProgressBar data={{ value: 72, label: 'Budget', status: 'warning' }} />

Sizes

Available in sm, md, and lg sizes.

Small60.0%
Medium (default)60.0%
Large60.0%
Show code
<ProgressBar data={data} size="lg" />

CategoryBar

Proportional Segments

CategoryBar shows proportional segments with auto-coloring from the chart palette.

Sponsored Products (55.0%)
Sponsored Brands (28.0%)
Sponsored Display (17.0%)
Show code
<CategoryBar data={{ segments: [...] }} />

DeltaBar

Positive & Negative Changes

DeltaBar shows +/- change from a center origin. Supports inverted coloring for metrics where decrease is positive.

Revenue Growth

+12.0%

ACoS Change

-8.0%
Show code
<DeltaBar data={{ value: 12 }} />

ProgressCircle

Status Colors

Circular progress indicator with status-based ring colors and center value display.

45.0%On Track
72.0%Pacing
95.0%Over
Show code
<ProgressCircle data={{ value: 72, status: 'warning', label: 'Pacing' }} size="lg" />

Sizes

Available in xs, sm, md, lg, and xl.

72.0%

xs

72.0%

sm

72.0%

md

72.0%

lg

72.0%

xl

Show code
<ProgressCircle data={data} size="xl" />

BarList

Top Keywords by Revenue

Ranked horizontal bar list for Top-N visualizations. Auto-sorts and supports icons, links, and truncation.

Top Keywords by Revenue

Last 30 days

🔍organic dog food
$12.4K
🔍premium cat treats
$9,800
🔍pet supplements
$7,200
🔍natural pet shampoo
$5,100
🔍dog dental chews
$3,400
Show code
<BarList data={{ items: [...], format: 'currency' }} title="Top Keywords" />

Tracker

Campaign Health

Grid of status cells showing health over time. Each cell represents a day or event with a status color.

Campaign Health

Last 30 days

22 good
6 warning
2 critical
Show code
<Tracker data={{ cells: [...] }} title="Campaign Health" />