Empty State
Clean empty state illustration card with title, description, and call to action.
v0.2.0NativeWindStyleSheetiOSAndroidExpo Go
Preview
Installation
npx nativra-cli add empty-stateWrites EmptyState.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.
- ButtonComponentA pressable button with variant and size presets 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.