Behive Tech Registry

Stat

v0.4.0

pnpm add @behivetech/atoms.stat

This component has no README yet.

Compositions

Open all 4 →

Properties

Stat props

PropTypeDefaultDescription
label*string—Descriptive label shown above the value
value*string | number—The primary metric to display
classNamestring—Additional class names to merge with the component root element
prefixReactNode—Optional prefix rendered before the value (e.g. "$")
suffixReactNode—Optional suffix rendered after the value (e.g. "%", "ms")

Also accepts the native attributes of its root element (className, aria-*, event handlers, …).