DataSummaryCard
Key metric display card for dashboards and summary views.
Open in StorybookInteractive Demo
Total Transactions
1234
Active Users
89
Volume
$2.4M
Variants
Filled vs unfilled
Filled
42
Unfilled
0
Usage
vue
<script setup>
import { DataSummaryCard } from '@yellowcard/b2b-design-system';
</script>
<template>
<DataSummaryCard
label="Total Transactions"
:value="1234"
metaText="Last 30 days"
/>
</template>API Reference
Props
| Prop | Type | Default | Description |
|---|---|---|---|
label* | string | — | Card label/title |
value* | number | string | — | Metric value to display |
metaText | string | '' | Supporting meta text |
filled | boolean | true | Use filled background style |