---
title: Stat
desc: Stat is used to show numbers and data in a block.
source: https://raw.githubusercontent.com/saadeghi/daisyui/refs/heads/master/packages/daisyui/src/components/stat.css
layout: components
classnames:
component:
- class: stats
desc: Container of multiple stat items
part:
- class: stat
desc: A block to display stat data about a topic
- class: stat-title
desc: Title part
- class: stat-value
desc: Value part
- class: stat-desc
desc: Description part
- class: stat-figure
desc: Figure part for icon, etc
- class: stat-actions
desc: Actions part for button, etc
direction:
- class: stats-horizontal
desc: Makes stats horizontal (default)
- class: stats-vertical
desc: Makes stats vertical
---
### ~Stat
Total Page Views
89,400
21% more than last month
```html
Total Page Views
89,400
21% more than last month
```
### ~Stat with icons or image
Total Likes
25.6K
21% more than last month
Page Views
2.6M
21% more than last month
86%
Tasks done
31 tasks remaining
```html
Total Likes
25.6K
21% more than last month
Page Views
2.6M
21% more than last month
86%
Tasks done
31 tasks remaining
```
### ~Stat
Downloads
31K
Jan 1st - Feb 1st
New Users
4,200
↗︎ 400 (22%)
New Registers
1,200
↘︎ 90 (14%)
```html
Downloads
31K
Jan 1st - Feb 1st
New Users
4,200
↗︎ 400 (22%)
New Registers
1,200
↘︎ 90 (14%)
```
### ~Centered items
Downloads
31K
From January 1st to February 1st
Users
4,200
↗︎ 40 (2%)
New Registers
1,200
↘︎ 90 (14%)
```html
Downloads
31K
From January 1st to February 1st
Users
4,200
↗︎ 40 (2%)
New Registers
1,200
↘︎ 90 (14%)
```
### ~Vertical
Downloads
31K
Jan 1st - Feb 1st
New Users
4,200
↗︎ 400 (22%)
New Registers
1,200
↘︎ 90 (14%)
```html
Downloads
31K
Jan 1st - Feb 1st
New Users
4,200
↗︎ 400 (22%)
New Registers
1,200
↘︎ 90 (14%)
```
### ~Responsive (vertical on small screen, horizontal on large screen)