Skip to content

masumrpg/react-native-components

Repository files navigation

React Native Components Theme

npm version npm downloads TypeScript React Native License: MIT

A comprehensive React Native UI component library and theme system designed to accelerate your mobile application development. With a focus on customization, performance, and exceptional developer experience.

✨ Key Features

πŸŒ“ Dynamic Theme Switching

Seamlessly switch between light and dark modes, or create your own custom themes.

πŸ”’ Type-Safe

Complete TypeScript support with comprehensive type definitions for a safe development experience.

🎨 Highly Customizable

Easily customize every aspect of components using a flexible theme system.

⚑ React Native Optimized

Built specifically for React Native with optimal performance and perfect native experience.

πŸ’Ύ Persistent Storage

Automatically saves user theme preferences for consistent experience.

🎯 Multiple Presets

Comes with various built-in theme presets that are ready to use and customizable.

πŸš€ Installation

npm install rnc-theme
# or
yarn add rnc-theme

πŸ“– Quick Start

import React from 'react';
import { View } from 'react-native';
import { RNCProvider, Button, Typography } from 'rnc-theme';
import { GestureHandlerRootView } from 'react-native-gesture-handler';

const App = () => {
  return (
		<GestureHandlerRootView>
			<RNCProvider>
				<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
					<Typography variant="h1">Welcome!</Typography>
					<Button onPress={() => console.log('Button pressed!')}>
						<Typography color="white">Press Me</Typography>
					</Button>
				</View>
			</RNCProvider>
		</GestureHandlerRootView>
  );
};

export default App;

πŸ“¦ 30+ UI Components Ready to Use

πŸ”˜ Button & FAB

Customizable buttons with various variants, sizes, and Floating Action Button.

πŸ“ Typography

Complete typography system with various heading, body, and caption variants.

πŸ“‹ Form Controls

Input, Checkbox, Radio, Switcher, Toggle, Slider, and integrated Form Control.

πŸ—οΈ Layout & Navigation

Card, Divider, Layout components, Modal, Bottom Sheet, and Accordion.

πŸ“Š Data Display

Table, Badge, Avatar, Progress, Rating, and Skeleton loading.

πŸ’¬ Feedback & Interaction

Toast notifications, Tooltip, Spinner, and various other interactive components.

πŸ–ΌοΈ Media & Content

Image Carousel, Calendar, Date Picker for displaying multimedia content.

πŸš€ Advanced Features

Combobox, Scroll components, and Internationalization (i18n) support.

πŸ“š Documentation

Visit our comprehensive documentation for detailed guides and examples:

Complete guide to start using rnc-theme in your project.

Learn how to create and customize themes according to your brand.

Explore all available components with complete usage examples.

See real implementation examples and best practices.

🀝 Contributing

We welcome contributions! Please see our contributing guidelines for more details.

  1. Fork this repository
  2. Create a new feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request

πŸ“„ License

MIT - See LICENSE for details


Made with ❀️ for the React Native community

Releases

No releases published

Packages

No packages published