
Heroui Native
Build React Native mobile screens with HeroUI Native components, Uniwind styling, and correct Native-vs-web patterns.
Install
npx skills add https://github.com/heroui-inc/heroui --skill heroui-nativeWhat is this skill?
- HeroUI Native on React Native with Uniwind (Tailwind v4 for mobile), not @heroui/react web
- Explicit Native vs web matrix: HSL colors on native versus oklch on web
- Install via official heroui.com installer script for heroui-native package
- Covers Buttons, Cards, TextFields, Dialogs, and themed dark/light configuration
- Guards against applying HeroUI React web patterns on iOS and Android
Adoption & trust: 6k installs on skills.sh; 29.6k GitHub stars; 2/3 security scanners passed (skills.sh audits).
Recommended Skills
Vercel React Native Skillsvercel-labs/agent-skills
Firebase Basicsfirebase/agent-skills
Building Native Uiexpo/skills
Firebase Ai Logic Basicsfirebase/agent-skills
Native Data Fetchingexpo/skills
Firebase Firestorefirebase/agent-skills
Journey fit
Primary fit
HeroUI Native is a UI implementation skill used while constructing the mobile product surface, which maps directly to the Build phase. Frontend is the correct shelf for component usage, theming, and installation—mobile client UI—not backend APIs or store listing work.
Common Questions / FAQ
Is Heroui Native safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Heroui Native
# HeroUI Native Development Guide HeroUI Native is a component library built on **Uniwind (Tailwind CSS for React Native)** and **React Native**, providing accessible, customizable UI components for mobile applications. --- ## Installation ```bash curl -fsSL https://heroui.com/install | bash -s heroui-native ``` --- ## CRITICAL: Native Only - Do Not Use Web Patterns **This guide is for HeroUI Native ONLY.** Do NOT apply HeroUI React (web) patterns — the package, styling engine, and color format all differ: | Feature | React (Web) | Native (Mobile) | | ------------ | -------------------- | ----------------------------------- | | **Styling** | Tailwind CSS v4 | Uniwind (Tailwind for React Native) | | **Colors** | oklch format | HSL format | | **Package** | `@heroui/react` | `heroui-native` | | **Platform** | Web browsers | iOS & Android | ```tsx // CORRECT — Native pattern import { Button } from "heroui-native"; <Button variant="primary" onPress={() => console.log("Pressed!")}> Click me </Button>; ``` **Always fetch Native docs before implementing.** --- ## Core Principles - Semantic variants (`primary`, `secondary`, `tertiary`) over visual descriptions - Composition over configuration (compound components) - Theme variables with HSL color format - React Native StyleSheet patterns with Uniwind utilities --- ## Accessing Documentation & Component Information **For component details, examples, props, and implementation patterns, always fetch documentation:** ### Using Scripts ```bash # List all available components node scripts/list_components.mjs # Get component documentation (MDX) node scripts/get_component_docs.mjs Button node scripts/get_component_docs.mjs Button Card TextField # Get theme variables node scripts/get_theme.mjs # Get non-component docs (guides, releases) node scripts/get_docs.mjs /docs/native/getting-started/theming ``` ### Direct MDX URLs Component docs: `https://heroui.com/docs/native/components/{component-name}.mdx` Examples: - Button: `https://heroui.com/docs/native/components/button.mdx` - Dialog: `https://heroui.com/docs/native/components/dialog.mdx` - TextField: `https://heroui.com/docs/native/components/text-field.mdx` Getting started guides: `https://heroui.com/docs/native/getting-started/{topic}.mdx` **Important:** Always fetch component docs before implementing. The MDX docs include complete examples, props, anatomy, and API references. --- ## Installation Essentials ### Quick Install ```bash npm i heroui-native react-native-reanimated react-native-gesture-handler react-native-safe-area-context @gorhom/bottom-sheet react-native-svg react-native-worklets tailwind-merge tailwind-variants ``` ### Framework Setup (Expo - Recommended) 1. **Install dependencies:** ```bash npx create-expo-app MyApp cd MyApp npm i heroui-native uniwind tailwindcss npm i react-native-reanimated react-native-gesture-handler react-native-safe-area-context @gorhom/bottom-sheet react-native-svg react-native-worklets tailwind-merge tailwind-variants ``` 2. **Create `global.css`:** ```css @import "tailwindcss"; @import "uniwind"; @import "heroui-native/styles"; @source "./node_modules/heroui-native/lib"; ``` 3. **Wrap app with providers:** ```tsx import { GestureHandlerRootView } from "react-native-gesture-handler"; import { HeroUINativeProvider } from "heroui-native"; import "./global.css"; export default function Layout() { return ( <Ge