MetricCard API
import { MetricCard } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
as | keyof JSX.IntrinsicElements | |
description | React.ReactNode | |
icon | React.ReactNode | An Editora icon name ("wallet"), or your own element. |
label (required) | React.ReactNode | |
meta | React.ReactNode | |
size | keyof typeof SIZE_STYLES | |
tone | keyof typeof TONE_ACCENTS | |
trend | React.ReactNode | |
value (required) | React.ReactNode |
Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).