Nativecn
A React Native UI component library inspired by shadcn/ui. Get beautiful, accessible UI components for your React Native apps by copying and pasting code.
Install / Use
/learn @tailwiinder/NativecnREADME
NativeCN

A React Native UI component library inspired by shadcn/ui. Get beautiful, accessible UI components for your React Native apps by copying and pasting code.
Installation & Usage
Note: You need to have nativewind installed and setup in your project to use this library.
# Install via npm
npm install @nativecn/cli
# Or use directly with npx
npx @nativecn/cli [command]
Initialize NativeCN in your project
npx @nativecn/cli init
The init command will:
- Detect if your project uses NativeWind or StyleSheet
- Create a nativecn-preset.js file with theme configuration
- Add components directory structure
- Install essential dependencies
- Create utility functions
Add components to your project
npx @nativecn/cli add button
Options:
--dir <directory>- Target directory for components (default: './components/ui')--overwrite- Overwrite existing components
Generate theme preset file (optional)
This is asked to be done automatically when you run npx @nativecn/cli init. Use this if you want a more fine-grained control over the preset file.
npx nativecn preset
Creates a nativecn-preset.js file with default theme colors.
Component Progress
| Category | Progress | Completed | Total | | ----------------------------- | ------------------------ | --------- | ------ | | Essential UI Primitives | ⬛⬜⬜⬜⬜⬜⬜⬜⬜⬜ | 1 | 10 | | Common Components | ⬛⬛⬛⬛⬛⬛⬜⬜⬜⬜⬜⬜ | 6 | 12 | | Navigation & Structure | ⬛⬛⬜⬜⬜⬜⬜⬜ | 2 | 8 | | Advanced Interaction | ⬛⬜⬜⬜⬜⬜⬜⬜⬜⬜ | 1 | 10 | | Data & Specialized Components | ⬛⬛⬜⬜⬜⬜ | 2 | 6 | | Overall | ⬛⬛⬜⬜⬜⬜⬜⬜⬜⬜ | 12 | 46 |
Check out the Roadmap for more details.
Features
- Non-intrusive installation process - Components as source code, not packages
- Easy theming - NativeWind preset for consistent styling
- Flexible styling - Works with NativeWind or React Native StyleSheet
- Full control - Customize components to your specific needs
- Type safety - Built with TypeScript for better development experience
Roadmap
NativeCN is under active development. Here's what we're planning:
- More Components: Expand our library with additional UI components that are present in shadcn/ui
- Documentation Site: Create a dedicated documentation website with live examples
- Example Apps: Create example apps using ~~expo and~~ react-native-cli to showcase the components in action
For a more detailed view of our plans and progress, check out our Roadmap.
Development
To develop locally:
# Build the packages
npm run build
# Link for local development (simplified approach)
npm link
# Now you can run the CLI
npx @nativecn/cli init
npx @nativecn/cli add button
Alternatively, you can link individual packages
# Link individual packages
npm link @nativecn/cli @nativecn/components
# Run commands
npx @nativecn/cli init
npx @nativecn/cli add button
Contributing
We welcome contributions from everyone! Whether you're fixing a bug, adding a feature, or improving documentation, your help is appreciated.
Please read our Contributing Guidelines for details on our code of conduct, the development process, and how to get your pull request accepted.
Quick Start for Contributors
- Fork the repository
- Clone your fork locally
- Set up the development environment:
npm install npm run build - Create a branch for your feature or bugfix
- Make your changes
- Test your changes
- Submit a pull request
For more detailed instructions, please see the Contributing Guidelines.
Code of Conduct
We expect all participants to adhere to our Code of Conduct. Please read it before participating.
License
MIT
<div align="center"> <p>If you find this project helpful, consider buying me a coffee ☕</p> <a href="https://buymeacoffee.com/tailwiinder"> <img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60" /> </a> </div>
Related Skills
Writing Hookify Rules
109.5kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
review-duplication
100.3kUse this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing project best practices and shared utilities.
mcp-for-beginners
15.8kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
repomix
23.1k📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok, and more.
