N
neokit

Stat

Display numerical data at a glance. Use Stats as a container for one or more Stat items. Each stat has a title, value, description, optional figure slot, and optional actions slot.

Single stat

Minimal: title + value + description.

stat
Total downloads
31,200
Jan 1st – Feb 1st

With figures (icons)

Use the figure slot for an icon, avatar, or badge beside the stat value.

stat with figures
New users
4,200
↗︎ 400 (22%)
Page views
1.2M
↗︎ 90,000 (21%)
Tasks done
86%
↘︎ 1 task remaining

Colored values

Use DaisyUI color classes inside the value prop — or pass raw HTML via the default slot to color specific text.

colored values
Revenue
Total earned this month
$89,400
Refunds
Claims processed
12
Active users
Online right now
1,843

Centered

Add centered to align all content to the center of each stat cell.

stat centered
Downloads
31K
Jan 1st – Feb 1st
New register
4,200
↗︎ 400 (22%)

Vertical layout

Pass direction="vertical" to stack stats in a column.

stats vertical
Downloads
31K
Jan 1st – Feb 1st
New users
4,200
↗︎ 400 (22%)
New registers
1,700
↗︎ 90 (14%)

Responsive

Stack vertically on small screens, horizontal on larger screens via Tailwind responsive classes on classes.

stat responsive
Downloads
31K
Jan 1st – Feb 1st
New users
4,200
↗︎ 400 (22%)
New registers
1,700
↗︎ 90 (14%)

With actions

Use the actions slot to add buttons or links inside the stat.

stat actions
Account balance
$89,400
Current balance
Sales
1,200
21% more than last month

Colored backgrounds

Apply a background color to individual stat cells via classes.

stat colors
New messages
71
21 unread
New purchases
56
↗︎ 12 (31%)
New tasks
4
↘︎ 2 (10%)

Avatar figure

The figure slot accepts any element — here using an avatar image.

stat avatar
avatar
Profile views
3,200
21% more than last month
avatar
Total followers
12.6K
↗︎ 1,200 (12%)