Card
A surface container for grouped content.
v0.2.0NativeWindStyleSheetiOSAndroidExpo Go
Preview
Installation
npx nativra-cli add cardWrites Card.tsx to components/ui, rewrites imports to your aliases and records hashes in nativra.lock.json, along with 1 registry dependency. 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.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| elevated | boolean | true | Renders platform shadow / elevation |
| radius | "none" | "sm" | "md" | "lg" | "full" | "md" | Corner radius preset |
| padding | "xs" | "sm" | "md" | "lg" | "xl" | "md" | Internal surface padding |
Source
Exactly what the CLI writes, before your import aliases are applied.
Dependencies
Used by
- Account Settings FlowTemplateEnterprise SaaS account, organization seats, security sessions, and billing management flow.
- Analytics DashboardTemplateExecutive SaaS mobile dashboard template with KPI metrics, time-range filter pills, channel breakdown bars, and recent audit activity feed.
- Auth FlowTemplateA complete mobile authentication template with Sign In, Sign Up, Forgot Password, and OTP verification steps.
- Booking FlowTemplateAppointment booking in three steps: date and free time slots, contact details with phone, a summary to confirm, then a success screen.
- Chat & Messaging FlowTemplateIn-app support and customer messaging template with conversation threads, speech bubbles, and keyboard-avoiding input bar.
- eCommerce FlowTemplateProduction mobile retail and eCommerce storefront template with product catalog, search filters, detail sheet, cart, and order summary.
- Empty StateBlockClean empty state illustration card with title, description, and call to action.
- Fintech WalletTemplateHigh-impact mobile finance and crypto wallet screen with total balance card, quick action pills, asset allocation list, and recent transactions.
- KPI Comparison CardBlockEnterprise dual-metric comparison card featuring current vs target performance, progress indicators, and trend badges.
- Login FormBlockA full authentication block with email, password, and sign-in action.
- Metric CardBlockReady-to-use mobile analytics KPI stat card with positive/negative trend badges.
- Order SummaryBlockComplete mobile e-commerce checkout invoice summary with line items, voucher discount, and checkout button.
- Pricing CardBlockReady-to-use mobile subscription tier card with features list and checkout CTA.
- Register FormBlockSign-up form with name, email, password and confirm, inline validation, terms consent and autofill hints.
- Settings FlowTemplateA comprehensive mobile settings screen template with account profile header, preference toggles, security options, and logout dialog.
- Settings ListBlockReady-to-use mobile settings group with switches, badges, and navigation rows.
- Stat Progress CardBlockMobile goal KPI card with target value, percent indicator, and embedded progress bar with milestone indicators.
- User ProfileBlockReady-to-use mobile profile card with avatar, verified badge, stats, and actions.