Highlights

Display key metrics with a title, a large value, and an optional statistic.

Basic usage

Place highlights in a HighlightsGrid. The grid draws the card surface and the dividers between cells, so a Highlights is not meant to be used on its own. Pass a Statistic as statisticProps to show the change next to the value.

Visibility score

42.8%
+3.4%

Share of voice

18.2%
-1.2%

Citations

12,480
+1.2k

Multiple rows

Children wrap onto new rows after columns items. The grid draws dividers between cells, with none after the last column or row. tooltipContent adds an info tooltip next to the title.

Prompts tracked

250

Answer engines

6

Brand mentions

3,912
+318

Last report

2 hours ago

Loading

Set isLoading on the grid to show skeletons in every cell, or on a single Highlights. The statistic skeleton only renders when statisticProps is set. Size the skeletons with bigValueSkeletonWidth and the related props.

Visibility score

Share of voice

Last report


Properties

titleRequired
string

The title of the highlights box

bigValue
stringnumber

The primary value. Numbers are formatted with toLocaleString

endIcon
IconValue

An icon name, a { name, variant?, className?, label? } descriptor, or a node

statisticProps
ReactNode

The statistic to show below the big value

isLoading
boolean

Whether the component is in a loading state

Default: false

tooltipContent
ReactNode

Content for an info tooltip next to the title. No tooltip icon renders without it

bigValueSkeletonWidth
string

Width of the big value skeleton when loading

Default: 60px

bigValueSkeletonHeight
string

Height of the big value skeleton when loading

Default: 24px

statisticSkeletonWidth
string

Width of the statistic skeleton when loading

Default: 32px

statisticSkeletonHeight
string

Height of the statistic skeleton when loading

Default: 16px

className
string

Additional CSS classes to apply to the highlights container

HighlightsGrid Properties

childrenRequired
ReactNode

Highlights components to display in the grid

columns
number

Number of columns in the grid layout, from 1 to 6

Default: 4

isLoading
boolean

When set, overrides isLoading on every child

className
string

Additional CSS classes to apply to the grid container