Stat

As the name implies, the `Stat` component is used to display some statistics.

    View SourceView Theme Source@chakra-ui/stat

Props#

  • StatLabel, StatHelpText, StatNumber composes Text component.
  • StatArrow composes Icon component.
  • Stat and StatGroup composes Box component.

colorScheme

Description

The visual color appearance of the component

Type
"whiteAlpha" | "blackAlpha" | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink" | "linkedin" | "facebook" | "messenger" | "whatsapp" | "twitter" | "telegram"

size

Description

The size of the Stat

Type
"md"
Default
md

variant

Description

The variant of the Stat

Type
string