Description
react-native-material-menu is a pure JavaScript material menu component for React Native, with automatic support for right-to-left layouts. You install it with yarn or npm and wrap your content in a Menu component, which takes an anchor button, a visible flag, children and a style. The Menu also takes an onRequestClose callback that runs when the menu hides, and an animationDuration in milliseconds that defaults to 300 for show and hide animations. The MenuItem component takes children, a disabled flag, a disabledTextColor that defaults to a grey, an onPress handler, a style, a textStyle and a pressColor for the pressed state. A MenuDivider component draws a line between items, with a color that defaults to a faint black. The README says menu item children must be wrapped in a Text component, such as text, strings, react-native-vector-icons or Expo icons, or the app may throw an error on a real device. The README also points to the author's other React Native components in the pietile-native-kit family. The package is MIT licensed, with the copyright held by Maksim Milyutin.…
Highlights
- Material-style menu for React Native
- Automatic RTL support
- Menu, MenuItem and MenuDivider components
- Disabled items and press color
- Show and hide animation duration
Ratings & Reviews
No ratings yet
Be the first to rate react-native-material-menu.
People also visit
@spaceymonk/react-radial-menu
React radial menu with sub menu support, animations and themes
react-native-material-menu FAQ
What is react-native-material-menu?
A pure JavaScript material menu component for React Native, with automatic right-to-left support.
How do I install it?
Install it with yarn or npm, then use the Menu, MenuItem and MenuDivider components.
Why does my menu item throw an error on device?
The README says menu item children must be based on a Text component, such as text, strings, vector icons or Expo icons.
Can I change the animation speed?
Yes. The Menu takes an animationDuration in milliseconds, which defaults to 300.
What license is it under?
MIT, with the copyright held by Maksim Milyutin.
What are the best react-native-material-menu alternatives?
Popular alternatives to react-native-material-menu include Zeego, @spaceymonk/react-radial-menu and react-native-drawer-layout. See all react-native-material-menu alternatives

















