Action Tile
Quick-action icon button tile for mobile dashboards, wallets, and launcher grids.
v0.3.1NativeWindStyleSheetiOSAndroidExpo GoWeb
Preview
Installation
npx nativra-cli add action-tileWrites ActionTile.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 |
|---|---|---|---|
| label | string | required | Primary action title |
| subtitle | string | undefined | Secondary helper caption |
| icon | string | "⚡" | Icon or emoji glyph rendered inside tile badge |
| variant | "default" | "primary" | "outline" | "default" | Visual emphasis preset |
| onPress | () => void | undefined | Press handler |
Source
Exactly what the CLI writes, before your import aliases are applied.