Giter VIP home page Giter VIP logo

react-native-navigation-animation's Introduction

React Native Navigation Animation

Beautiful Navigation animation with transation made with React Native.

Check it out on Dribbble (https://dribbble.com/shots/4115418-Home-page-interactions)

Read about how we made this on our blog (https://www.mindinventory.com/blog/create-tabbar-plugin-with-react-native/)

Android: react-native run-android

iPhone: react-native run-ios

Usage

render() { return ( <Image style={{bottom: 15, position: 'absolute', left: 15,height:20,width:20,}} source={require('/Volumes/Project/ReactProject/AnimationDemo/Images/ic_menu.png')}/> <Text style={{bottom: 15, position: 'absolute', right: 15,color: '#3842B0',}}>+ Create

        <ScrollView style={styles.mainContainer}>

        {/* Top Container ........ */}
        <View style={styles.topContainer}>

            {/* User Image ........ */}
            <Image style={styles.userImageContainer}
                   source={require('/Volumes/Project/ReactProject/AnimationDemo/Images/maxresdefault.jpg')}/>

            <Text style={{marginLeft: 15, marginTop: 8, color: '#6471F4'}}>
                Hello,{"\n"}Dance Montgomery
            </Text>

            <Text style={{
                marginLeft: 15,
                marginRight: 15,
                marginTop: 30,
                color: '#3842B0',
                fontSize: 40,
                fontWeight: 'bold'
            }}>
                What you want to cook today?
            </Text>


            {/* Search View Container ........ */}
            <View style={styles.topSearchContainer}>
                <Image style={{
                    marginLeft: 5,
                    width: scaleToDimension(40),
                    backgroundColor: 'transparent',
                    height: scaleToDimension(40),
                    resizeMode: 'center'
                }}
                       source={require('/Volumes/Project/ReactProject/AnimationDemo/Images/magnifying-glass-icon.png')}/>
                <TextInput style={{flex: 1, marginLeft: 5, marginRight: 10, color : "#3842B0"}} placeholder={'Search'} placeholderTextColor='#3842B0' />
            </View>


        </View>

        {/* Bottom Container ........ */}
        <View style={styles.bottomContainer}>

            {/* Tab bar View........ */}
            <View style={styles.bottomTabBarContainer}>
                <FlatList
                    showsHorizontalScrollIndicator={false}
                    horizontal={true}
                    data={arrTapBar}
                    extraData={this.state}
                    renderItem={({item, index}) => this.renderTapBarItem(item, index)}
                />
            </View>

            {/* Grid View........ */}
            <View style={styles.bottomGridContainer}>
                <FlatList
                    showsHorizontalScrollIndicator={false}
                    onPress
                    horizontal={true}
                    data={arrTapBar}
                    renderItem={({item, index}) => this.renderGridItem(item, index)}
                />
            </View>


        </View>

    </ScrollView>
    </SafeAreaView>
);

}

Dependencies

  • react-navigation-fluid-transitions

Changelog

Version: 1.0

  • Initial Build

LICENSE!

React-native-navigation-animation is MIT-licensed.

Let us know!

We’d be really happy if you send us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding our work.

react-native-navigation-animation's People

Contributors

malvikiran avatar

Watchers

xiangyutian 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.