Metric Card
A basic dashboard card with header, content, actions, badge, and footer controls.
Interactive preview · desktop · dark
Installation
Installation is available on the Startup and Business plans. Your personal install command appears here once you have access.
Usage
Import it, pass your props, and make it part of your product.
example.tsx
import { CardBasic } from '@/components/component-kit/items/card-basic';
export function Example() { return ( <CardBasic title="Workspace overview" metric={{ label: "Monthly revenue", value: "$12,840", change: "+18.6%" }} /> );}Props
| Prop | Type | Default | Description |
|---|---|---|---|
metric | CardBasicMetric | — | Label, value, change and direction. |
status | string | — | Optional status badge. |