Git Product home page Git Product logo

react-native-login-animation-example's Introduction

A React-Native login animation example

Description

This is a simple demo of a login/signup animation built with react-native, inspired by the Dropbox Material Redesign Concept by Sam Atmore.
This repository contains the source code used to run the animation.
The example is available in Exponent too: https://getexponent.com/@community/login-animation-example

Gif and vid!

You can also see the animation in a much better quality on this Youtube link.

Project structure

The structure of the application is the following:

src
 ├── app.js // The app entry point (for sake of simplicity I handle here the routing and the state)
 
 ├── components
    ├── CustomButton.js // The button used in the app
    ├── CustomTextInput.js // The text input used in the app
    └── TouchableView.js // A cross-platform helper view with a touchable behavior
 
 ├── config
    └── metrics.js // App metrics like device width/height, statusbar height, etc...
 
 ├── containers
    ├── AuthScreen
       ├── index.js // The signup/login screen
       ├── LoginForm.js // The login form
       ├── Opening.js // The initial buttons (that redirect to login/signup)
       └── SignupForm.js // The signup form
    └── HomeScreen.js
        └── index.js // The post-authentication screen (for this example I simply show a logout button)
 
 └── images // The app images

Dependencies

The dependencies needed for this app are the following:

"react-native" >= "0.38.0",
"react-native-animatable" >= "1.1.0"

Some visual cues on the app structure

Animations info and app flow description

Most of the app flow is described inside src/app.js and src/containers/AuthScreen/index.js.
Feel free to open an issue if something is not clear enough! 🐟  

react-native-login-animation-example's People

Contributors

mmazzarolo avatar

Watchers

 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.