centerContent
Description
If true, container will center its children regardless of their width.
Type
booleanDefault
falseLeave Yamada UI a star
StarStat is used to display numbers or data within a box.
Description
If true, container will center its children regardless of their width.
Type
booleanDefault
falseDescription
The visual color appearance of the component.
Type
"blackAlpha" | "whiteAlpha" | "amber" | "blue" | "info" | "link" | "primary" | "cyan" | "emerald" | "flashy" | "fuchsia" | "gray" | "green" | "success" | "indigo" | "lime" | "neutral" | "orange" | "warning" | "pink" | "purple" | "red" | "danger" | "rose" | "sky" | "teal" | "violet" | "secondary" | "yellow"Description
The stat helper message to use.
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortalDescription
Props for stat helper message component.
Type
StatHelperMessagePropsDescription
The stat icon to use.
Type
"decrease" | "increase"Description
Props for stat icon component.
Type
Omit<StatIconProps, "type">Description
The stat label to use.
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortalDescription
Props for stat label component.
Type
StatLabelPropsDescription
The stat number to use.
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortalDescription
Props for stat number component.
Type
StatNumberPropsDescription
The size of the Stat.
Type
stringDescription
The variant of the Stat.
Type
stringDescription
The CSS font-size property.
Deprecated
Use fontSize instead.
Type
UIValue<number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "large" | "medium" | "small" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large" | ... 17 more ... | "xs">Type
"decrease" | "increase"Default
increaseEdit this page on GitHub