Skip to content

StatCard

Metric display card.

Import

tsx
import { ZStatCard } from "@zurto/ui";

Usage

tsx
<ZStatCard
  title="Total Revenue"
  value="$12,450"
  change={+12.5}
  icon={<DollarIcon />}
/>

Props

PropTypeDefaultDescription
titlestringStat label
valuestring | numberDisplay value
changenumberChange percentage
iconReactNodeOptional icon

Released under the MIT License.