This project is a UI components repository that I usually use in mobile Applications.
Explore the docs
View Demo
·
Report Bug
·
Request Feature
Table of Contents
In order to reduce the effort to make new components in every new React-Native/Expo project I'm making this repository to store usefull UI components. It's used plain react-native components, react-native-reanimated v2 and react-native-gesture-handler packets to make animations and gesture interactions.
Here's a list of the components made so far:
- Banner
- Modal
- Numpad
- Swipe to complete button
- Page wrapper
This is an example of how set up this project locally. To get a local copy up and running follow these simple steps.
-
expo
yarn global add expo-cli
or
npm install -g expo-cli
Install Expo Go app in your phone to run the project.
- Clone the repo
git clone https://github.com/sebastiaohns/RNComponents.git
- Install NPM packages
or
yarn
npm install
- Run expo
expo start
Below there's a demostration video of the components being used. Each component has a demo file that can be run and used to understand the funcionality of the component, also showing how to use it.
-
Banner: pop up element that slide in from bottom to the center of the page.
-
Modal: pop up element that slide in the bottom of the page.
-
Numpad: in screen keypad that is used to insert values.
-
Swipe button: element that use swipe gesture to trigger funcionality.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Sebastião Santos - [email protected]
Project Link: https://github.com/sebastiaohns/RNComponents