Metric Card
Ready-to-use mobile analytics KPI stat card with positive/negative trend badges.
v0.2.0NativeWindStyleSheetiOSAndroidExpo Go
Preview
Installation
npx nativra-cli add metric-cardWrites MetricCard.tsx to components/ui, rewrites imports to your aliases and records hashes in nativra.lock.json, along with 4 registry dependencies. Existing files are never overwritten without asking.
Want to try it first? Open it in the playground: a real React Native project in your browser, with this item installed by the CLI.
Source
Exactly what the CLI writes, before your import aliases are applied.
Dependencies
Registry items
- CardComponentA surface container for grouped content.
- BadgeComponentA small status indicator label for React Native.
- TextComponentTypography component with semantic heading, body, and muted variants.
- useThemeColorsHookReturns the installed theme's semantic colors for the current light/dark scheme, and the installed style's tokens and helpers. Used by every component.