27

I'm new in React Native, I want to create a side menu like this, any reference for this?

side menu

Pavel Chuchuva
  • 22,633
  • 10
  • 99
  • 115
Quinn
  • 697
  • 1
  • 10
  • 25

3 Answers3

27

I would like to say use reactnavigation. that is providing drawer To open and close drawer, navigate to 'DrawerOpen' and 'DrawerClose' respectively.

 this.props.navigation.navigate('DrawerOpen'); // open drawer
    this.props.navigation.navigate('DrawerClose'); // close drawer

https://reactnavigation.org/docs/drawer-based-navigation.html

or here is one example That also is good . refer this

https://github.com/dailydrip/react-native-navigation-sample

Ismail
  • 725
  • 8
  • 23
Sport
  • 8,570
  • 6
  • 46
  • 65
11

This is one of my simple project that may show you the idea how to implement a side menu by yourself.

https://github.com/reactazteam/PushyHorizontalMenu

enter image description here

Hoang Trung
  • 1,979
  • 1
  • 21
  • 33
  • 4
    While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - [From Review](/review/low-quality-posts/16708197) – Antti29 Jul 14 '17 at 05:27
  • 6
    You're correct but here are the things. 1. The question owner asked about references. 2. This is in my github account and I'm not gonna change it. 3. It's kinda complicated to include all essential parts here also, so I just keep it simple. – Hoang Trung Jul 27 '17 at 08:45
4

Here you can find a complete template ready to use.

https://github.com/darde/react-native-sidemenu

Pablo Darde
  • 5,844
  • 10
  • 37
  • 55