- Getting Started
- The Basics
- Concepts
- SuperNative
-
EDGE Components
- Introduction
- Activity Indicator
- Badge
- Bottom Navigation
- Bottom Sheet
- Button
- Button Group
- Canvas
- Carousel
- Checkbox
- Chip
- Column
- Divider
- Gesture Area
- Icon
- Icons
- Image
- Layout & Styling
- List
- Menus
- Modal
- Pressable
- Progress Bar
- Radio Group
- Row
- Scroll View
- Select
- Shapes
- Side Navigation
- Slider
- Spacer
- Stack
- Tab Row
- Text
- Text Input
- Toggle
- Top Bar
- Virtual List
- Web View
- Plugins
- Testing
- Architecture
You're viewing pre-release documentation — version 4.x is in beta
Features, APIs and behaviour may change before the stable release. View the stable version (3.x)
Side Navigation
Important
Prefer the Layout model. Provide a slide-out drawer with the
Drawer builder from a NativeLayout rather than placing <native:side-nav> in a screen. This page documents
the inline element, which still works but is no longer the recommended approach.
Overview#


A slide-out navigation drawer with support for groups, headers, and dividers.
<native:side-nav gestures-enabled="true"> <native:side-nav-header title="My App" icon="person" /> <native:side-nav-item id="home" label="Home" icon="home" url="/home" :active="true" /> <native:side-nav-group heading="Account" :expanded="false"> <native:side-nav-item id="profile" label="Profile" icon="person" url="/profile" /> <native:side-nav-item id="settings" label="Settings" icon="settings" url="/settings" /> </native:side-nav-group> <native:horizontal-divider /> <native:side-nav-item id="help" label="Help" icon="help" url="https://help.example.com" open-in-browser="true" /></native:side-nav>
Props#
gestures-enabled- Swipe to open (default:false) [Android]label-visibility-labeled(default),selected, orunlabeled(optional)dark- Force dark mode (optional, boolean)
Children#
Important
In the Layout model a drawer's contents are any Blade view — build
the header, items, and groups below with standard EDGE components inside a Drawer, rather than the
<native:side-nav-*> elements.
<native:side-nav-header>#
title- Title text (optional)subtitle- Subtitle text (optional)icon- A named icon (optional)background-color- Background color. Hex code (optional)show-close-button- Show a close × (optional, default:true) [Android]pinned- Keep header visible when scrolling (optional, default:false)
<native:side-nav-item>#
id- Unique identifier (required)label- Display text (required)icon- A named icon (required)url- A URL to navigate to in the web view (required)active- Highlight this item as active (optional, default:false)badge- Badge text (optional)badge-color- Hex code or named color (optional)
<native:side-nav-group>#
heading- The group's heading (required)expanded- Initially expanded (optional, default:false)icon- Material icon (optional)
<native:horizontal-divider>#
Add visual separators between navigation items. This item has no properties.
in no time