StatisticCard

Pro

StatisticCard is a bordered or inset card shell for composing a label, value, and supporting content such as trend indicators, charts, or progress bars.

Loading preview

Installation

Add this component with the NateUI CLI.

npx @nateui/cli@latest add StatisticCard

Examples

With Chart

With Progress

API

PropDescriptionTypeDefault
insetRenders the muted outer frame with an inset body, instead of the plain bordered card.booleanfalse
headerContent shown above the body, in its own bordered/padded region.ReactNode | string—
footerContent shown below the body, in its own bordered/padded region.ReactNode | string—
bodyClassClass names applied to the inner body. Only takes effect when inset is true.string—
classNameClass names applied to the outermost element.string—
childrenThe card's main content.ReactNode—
...restNative div props.ComponentProps<'div'>—