centerContent
Description
If true
, container will center its children regardless of their width.
Type
boolean
Default
false
Leave 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
boolean
Default
false
Description
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>
| ReactPortal
Description
Props for stat helper message component.
Type
StatHelperMessageProps
Description
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>
| ReactPortal
Description
Props for stat label component.
Type
StatLabelProps
Description
The stat number to use.
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
Description
Props for stat number component.
Type
StatNumberProps
Description
The size of the Stat.
Type
string
Description
The variant of the Stat.
Type
string
Description
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
increase
Edit this page on GitHub