Color Schemes for Stat are not implemented in the default theme. You can extend the theme to implement them.
Stat
As the name implies, the Stat component is used to display some statistics.
Import#
import {Stat,StatLabel,StatNumber,StatHelpText,StatArrow,StatGroup,} from "@chakra-ui/react"
Basic Usage#
- Collected Fees
- £0.00
- Feb 12 - Feb 28
Editable Example
Stat with Indicator#
- Sent
- 345,670
- increased by23.36%
- Clicked
- 45
- decreased by9.05%
Editable Example
Props#
StatLabel,StatHelpText,StatNumbercomposes Text component.StatArrowcomposes Icon component.StatandStatGroupcomposes Box component.
colorScheme
colorSchemeDescription
Type
"whiteAlpha" | "blackAlpha" | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink" | "linkedin" | "facebook" | "messenger" | "whatsapp" | "twitter" | "telegram"size
sizeType
"md"Default
"md"variant
variantDescription
Variants for Stat are not implemented in the default theme. You can extend the theme to implement them.
Type
string