Stat

Stat is used to display numbers or data within a box.

Total Page Views
1,993,818
21% more than last month

Usage

import { Stat } from "@yamada-ui/react"
<Stat.Root>
  <Stat.Label />
  <Stat.Value />
  <Stat.Unit />
  <Stat.HelperMessage />
  <Stat.Icon />
</Stat.Root>

Change Size

Time to complete
8hr18min
Time to complete
8hr18min
Time to complete
8hr18min
Time to complete
8hr18min

Change Color Scheme

Total Likes
818K
21% more than last month
Total Likes
818K
21% more than last month

Center Content

To center the content, set centerContent to true.

Downloads
18K
From August 1 to August 18

Display Unit

Time to complete
8hr18min

Display Decrease Icon

To display a decrease icon, set the type of Stat.Icon to decrease.

Total Page Views
1,993,818
21% more than last month

Props

Accessibility

ARIA Roles and Attributes

ComponentRole and AttributesUsage
Stat.Iconaria-labelSet to "Increased by" if type is set to "increase", and to "Decreased by" if type is set to "decrease".
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd