Skip to content

craftreactnative/ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CraftReactNative

A collection of copy-paste React Native components built for Unistyles.

MIT License TypeScript platform - expo platform - ios platform - android

Overview

CraftReactNative provides production-ready React Native components designed specifically to work with Unistyles. Instead of installing a package, you copy the component code directly into your project, giving you full control and customization.

Note: This is a community project and is not officially affiliated with the Unistyles team.

Features

  • Unistyles-optimized: Components leverage Unistyles' theming and performance benefits
  • Copy-paste approach: Own your code, no dependency lock-in
  • TypeScript: Fully typed components with IntelliSense support
  • Theme-aware: Built-in dark/light mode support
  • Customizable: Modify anything without breaking updates

Prerequisites

npm install react-native-reanimated@^3 react-native-gesture-handler@^2 react-native-svg@^14 react-native-unistyles@^2

Make sure you follow the documentation to configure your project and use these components.

Note: Migration to Unistyles v3 is currently in progress.

Getting Started

The fastest way to get started is with the CLI tool:

  1. Initialize your project with themes and dependencies:

    npx @craftreactnative/ui init
  2. Add components to your project:

    npx @craftreactnative/ui add Button
    npx @craftreactnative/ui add Avatar Card Slider
  3. Start building with fully typed, theme-aware components!

Alternative: Manual Setup

You can also manually browse and copy components:

  1. Browse components in the demo app to see what's available
  2. Copy the component code and theme configuration from the source files
  3. Paste into your project and customize as needed

Documentation

Premium Templates

Ready-to-use complete screen implementations built with these components. Save development time with production-ready code that includes dark mode support and follows best practices.

Browse Templates →

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. Whether it's:

  • Bug fixes
  • New components
  • Documentation improvements
  • Example usage

License

MIT License - see the LICENSE file for details.

About

React Native components based on Unistyles that you can copy to your projects

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •