Analytical Metric Folder
A production-scale, light + dark Analytical Metric Folder component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add analytical-metric-folderLive preview available in the gallery.
Usage
import { AnalyticalMetricFolder } from "@lerpa/ui";
<AnalyticalMetricFolder />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | - | |
| description | string | — | |
| primaryStat | string | number | - | |
| change | number | — | |
| subMetrics | SubMetricItem[] | — | |
| children | React.ReactNode | — | |
| isInitiallyExpanded | boolean | — | |
| className | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.