More Premium Hugo Themes Premium React Themes

React Native Off Canvas Menu

Beautifully crafted off canvas menu components for react native applications. Built on top of react-native's Animated library.

React Native Off Canvas Menu

Beautifully crafted off canvas menu components for react native applications. Built on top of react-native's Animated library.

Author Avatar Theme by proshoumma
Github Stars Github Stars: 413
Last Commit Last Commit: Jul 24, 2018 -
First Commit Created: Dec 18, 2023 -
React Native Off Canvas Menu screenshot

Overview

The react-native-off-canvas-menu is a component that allows the creation of beautifully crafted off-canvas menus for react native applications. It provides a smooth animation, gesture support, and compatibility with different orientations.

Features

  • Gesture Support: The component allows users to interact with the menu through gestures.
  • Orientation Compatible: The off-canvas menu is compatible with different device orientations.
  • Smooth Animation: The menu provides smooth animation when opening and closing.
  • Menu items with custom Icon support: Users can customize the icons for the menu items.
  • Scroll support for a long listed menu: The menu supports scrolling for long lists of menu items.
  • Automatically change scene for each menu item: The component automatically changes the scene for each menu item.
  • Hardware back button handling for Android: The off-canvas menu handles the hardware back button for Android devices.
  • Created with React Native Animated library: The component is created using the React Native Animated library.

Installation

  1. Install the react-native-off-canvas-menu component using npm:
npm install react-native-off-canvas-menu
  1. If you want to use icons with your menu titles, install the react-native-vector-icons library:
npm install react-native-vector-icons
  1. Copy the font files for the icons from “[YourAppRoot]/node_modules/react-native-vector-icons/Fonts” to “[YourAppRoot]/android/app/src/main/assets/fonts”. Create the “fonts” folder if it doesn’t exist.
  2. Restart the server and start the app again to apply the changes.

Summary

The react-native-off-canvas-menu is a powerful component for creating off-canvas menus in react native applications. It provides various features such as gesture support, smooth animation, and compatibility with different orientations. The installation process is straightforward, and the component can be easily customized according to user needs. Overall, it is a valuable tool for enhancing the user experience in react native applications.