Code Monkey home page Code Monkey logo

react-native-custom-tab-bar's Introduction

react-native-custom-tab-bar

Custom Tab Bar for React Native using Reanimated 2 and Lottie Animations

// Github Repository ————————————————————————————————————————————

https://github.com/MaximilianDietel03/react-native-custom-tab-bar

// Docs ————————————————————————————————————————————

Links to all of the packages documentations:

https://reactnavigation.org/docs/getting-started/

https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/

https://github.com/lottie-react-native/lottie-react-native

https://github.com/react-native-svg/react-native-svg

// Commands ————————————————————————————————————————————

Initialise new React Native project, Typescript:

npx react-native init AwesomeTSProject --template react-native-template-typescript

Note: React Native version 0.69.4 at the time I uploaded this video

//

Install required packages:

yarn add @react-navigation/native @react-navigation/bottom-tabs react-native-safe-area-context react-native-screens react-native-svg react-native-reanimated lottie-react-native

//

If your using iOS: npx pod-install ios

// Assets ————————————————————————————————————————————

Google Drive with active-background.svg and Animated Icons:

https://drive.google.com/drive/folders/1sdJAOsepk3QlZ4zH3m26GEgyHPTVNJsL?usp=sharing

// SVG transformation ————————————————————————————————————————————

Sites used to transform SVG file into React SVG Component:

https://svg2jsx.com/

https://react-svgr.com/playground/?native=true

Note: If you wanna transform a lot of SVG files in your project, you might wan’t to take a look at this stack overflow article:

https://stackoverflow.com/questions/38830568/how-to-show-svg-file-on-react-native

// Icons ————————————————————————————————————————————

Animated:

https://lottiefiles.com/

Normal:

https://iconify.design/

// Design Programms ————————————————————————————————————————————

Programm used for designing SVGs:

https://www.figma.com/

Programm used for Lottie Animations:

https://www.haikuanimator.com/

react-native-custom-tab-bar's People

Contributors

maximiliandietel03 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.