- Getting Started
- Architecture
- The Basics
- Digging Deeper
-
EDGE Components
- Introduction
- Activity Indicator
- Badge
- Bottom Navigation
- Bottom Sheet
- Button
- Button Group
- Canvas
- Carousel
- Checkbox
- Chip
- Column
- Divider
- Gesture Area
- Icon
- Image
- Lazy Grid
- Layout & Styling
- List
- Menus
- Modal
- Pressable
- Progress Bar
- Radio Group
- Refreshable
- Row
- Scroll View
- Select
- Shapes
- Side Navigation
- Slider
- Spacer
- Stack
- Tab Row
- Text
- Text Input
- Toggle
- Top Bar
- Virtual List
- Web View
- Plugins
- Testing
- Publishing Your App
Side Navigation
Get the Jump app
You'll need the free Jump app to preview this page on your device. Install it, then scan the code again.
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.
Copied!
<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)open-in-browser- Force theurlto open in the device's default browser instead of the web view, whatever its domain (optional, default:false)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.
NativePHP
Bring your
Laravel
skills to the
desktop.
Cloud Platform
Bifrost
Build your NativePHP apps
in the cloud.
Ship it!
Plans from $10/mo
Plugin Dev Kit
Build native plugins with
Claude Code
Learn More
NativePHP Ultra
All NativePHP plugins, teams & priority support from
$35/mo
Learn More
The Vibes
The unofficial Laracon US
Day 3
Grab Your Spot
Only 100 tickets!
The Masterclass
Go from zero to
published app
in no time
in no time
Learn More