Did you know?dyk.si

Hamburger Menu (Navigation Drawer)

The three-line button and the side navigation panel it slides open.

Also known as: Navigation Drawer

aria-expanded + aria-controls

When to use it

When there are more sections than the screen can show.

Common mistake

With only three to five sections, a bottom bar is clearer and faster.

Accessibility

Toggle aria-expanded and move focus to the first link when it opens.

Name in code

HTML/CSSaria-expanded + aria-controls
React<Sheet side="left">
Jetpack ComposeModalNavigationDrawer
SwiftUINavigationSplitView

Ready prompt for your coding agent

Add a Hamburger Menu (Navigation Drawer) to this screen. What it is: The three-line button and the side navigation panel it slides open. Implement with: aria-expanded + aria-controls (HTML/CSS). Accessibility: Toggle aria-expanded and move focus to the first link when it opens. When to use it: When there are more sections than the screen can show. Avoid: With only three to five sections, a bottom bar is clearer and faster. Reuse the project's existing design tokens, spacing and component conventions.

Or compose a whole page from this element and others →

Prompts are in English for the most precise results with coding agents.