Skip to content

Coderkube-App/react-native-ui-component

Repository files navigation

✨ React Native UI Component Library

React Native TypeScript License: MIT

A premium, high-fidelity UI component library built with React Native and TypeScript. This project serves as a comprehensive design system, architecturally synchronized with its Flutter counterpart to ensure cross-platform consistency.


🚀 Key Features

  • 🎨 Advanced Design System: Unified color palette, typography, and spacing tokens.
  • 📱 Premium Core Components: High-performance, customizable UI elements including Buttons, Cards, TextFields, and Typography.
  • 🌗 Dark Mode Support: Native integration with useColorScheme for seamless theme switching.
  • 🏗️ Architectural Parity: Structured to mirror the Flutter UI library for consistent development patterns.
  • ⚡ Performance Optimized: Minimal re-renders and smooth animations using native drivers.

📂 Project Structure

src/
├── core/               # Core design system and shared components
│   ├── components/     # Atomic UI components (Button, Card, etc.)
│   └── theme/          # Theme definitions (Colors, Fonts, Spacing)
├── modules/            # Feature-based modules
│   ├── design_system/  # Design system showcase and documentation
│   ├── main/           # Main application entry points
│   └── settings/       # User preferences and app settings
└── routes/             # Navigation configuration and stack definitions

💎 Core Components

🔠 Typography

A robust typography system with predefined scales (H1-H6, Body, Caption) ensuring consistent text hierarchy.

🔘 Buttons

Highly customizable buttons with support for:

  • Different variants (Filled, Outlined, Ghost)
  • Multiple sizes (Small, Medium, Large)
  • Loading states and icons

📇 Cards

Elevated surface components with customizable shadow depth, padding, and interactive states.

📝 TextField

Premium input fields with built-in validation styles, floating labels, and focus states.


🛠️ Getting Started

Prerequisites

  • Node.js > 18
  • Yarn or NPM
  • React Native Environment Setup (Official Guide)

Installation

  1. Clone the repository

    git clone <repository-url>
    cd react-native-ui-component
  2. Install dependencies

    yarn install
    # or
    npm install
  3. Install iOS Pods (macOS only)

    cd ios && pod install && cd ..

Running the App

Android

yarn android

iOS

yarn ios

🎨 Design System

Our design system is built on a foundation of clarity and modern aesthetics.

  • Primary Color: #6200EE (Light) | #BB86FC (Dark)
  • Secondary Color: #03DAC6
  • Surface: High-contrast surfaces for readability.

For more details, check out the src/core/theme directory.


🤝 Contribution

Contributions are welcome! Please feel free to submit a Pull Request or open an issue for any feature requests or bug reports.


📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Built with ❤️ for the React Native Community

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors