EDGE Side Panel

circle-exclamation

Overview

Progressive Web Apps can opt-in to be pinned to the sidebar in Microsoft Edge. The sidebar allows users to easily access popular websites and utilities alongside their browser tabs, enabling side-by-side browsing without context switching.

Key Features:

  • Always accessible alongside browser content

  • Persistent across browser sessions

  • Customizable width

  • Perfect for utilities and reference apps

  • Parallel browsing experience

Use Cases

The Edge sidebar is ideal for applications that users want to access while browsing other content:

  • Productivity Tools: Calculators, note-taking apps, task managers

  • Reference Apps: Dictionary, translation tools, documentation viewers

  • Communication: Chat apps, messaging platforms

  • Media: Music players, podcast apps (can play while browsing)

  • Shopping: Price comparison tools, shopping lists

  • Developer Tools: API testers, JSON formatters, code snippets

  • Social Media: Social network feeds, notifications

Configuration

Basic Configuration

Enable sidebar support without specifying width:

With this configuration, your PWA can be added to the Edge sidebar with default width.

Specify Preferred Width

Set a preferred width for your sidebar panel:

Width Guidelines:

  • Minimum: 200px (Edge enforced minimum)

  • Recommended: 350-500px for most apps

  • Maximum: No hard limit, but Edge may constrain to reasonable values

Display Mode Considerations

For sidebar-only apps, use browser display mode:

Setting display: "browser" tells Edge that your app is designed for the sidebar and shouldn't be offered as a standalone installable app.

Complete Example

Width Recommendations by Application Type

Calculator / Utilities

Recommended: 300-350px

Reasoning: Calculators don't need much horizontal space. Narrower width leaves more room for browser content.

Note-Taking App

Recommended: 400-500px

Reasoning: Enough width for comfortable typing and reading notes.

Chat / Messaging

Recommended: 350-400px

Reasoning: Standard chat interface width, similar to messaging apps.

Documentation Viewer

Recommended: 500-600px

Reasoning: Documentation benefits from wider layout for code examples and text.

Music Player

Recommended: 300-350px

Reasoning: Compact control interface, doesn't need much space.

Translation Tool

Recommended: 400-450px

Reasoning: Needs space for source and translated text.

Browser Support

Browser
Support

Microsoft Edge

✅ Full support

Chrome

❌ Not supported (property ignored)

Safari

❌ Not supported (property ignored)

Firefox

❌ Not supported (property ignored)

circle-info

Graceful Degradation: Other browsers will simply ignore the edge_side_panel property. Your app will work normally in those browsers.

Responsive Design

Design your app to work both in the sidebar and as a standalone page:

CSS Media Queries

JavaScript Detection

Detect narrow viewport and adjust functionality:

User Experience Best Practices

1. Design for Narrow Viewports

2. Minimize Horizontal Elements

3. Use Collapsible Sections

4. Optimize Text Readability

5. Provide Clear Actions

Testing in Edge

1. Enable Sidebar Testing

2. Install PWA to Sidebar

3. Test Width Adjustment

4. Test Functionality

Complete Examples

Example 1: Calculator App

Example 2: Notes App

Example 3: Music Player

Example 4: Translation Tool

Common Issues

App Not Appearing in Sidebar

Problem: PWA doesn't show up in Edge sidebar app list

Solutions:

  • Ensure you're using Microsoft Edge (not Chrome/other browsers)

  • Verify PWA is installed (edge://apps)

  • Check that edge_side_panel is configured in manifest

  • Restart Edge browser

  • Check Edge version supports sidebar PWAs

Width Not Respected

Problem: Sidebar width doesn't match preferred_width

Reasons:

  • Edge enforces minimum width (~200px)

  • Edge may constrain width based on screen size

  • User can manually resize sidebar

  • preferred_width is a suggestion, not a requirement

Solution: Design app to work across range of widths (200-600px)

Content Overflows

Problem: Content extends beyond sidebar viewport

Solutions:

App Opens in New Window

Problem: Clicking links opens new windows instead of navigating in sidebar

Solutions:

Debugging

Check Manifest in DevTools

Console Logging

Test Across Widths

Best Practices Summary

  1. Set appropriate width: 300-500px for most apps

  2. Use display: "browser": For sidebar-only apps

  3. Design responsive: Support 200-600px widths

  4. Avoid horizontal scrolling: Stack elements vertically

  5. Test in actual Edge sidebar: Don't rely on DevTools alone

  6. Provide fallback: App should work in other browsers too

  7. Optimize text: Ensure readability in narrow space

  8. Use icons: Save space with icon-based navigation

  9. Implement collapsible sections: Maximize vertical space

  10. Remember state: Persist user data across sessions

Resources

  • Microsoft Edge Sidebar: https://learn.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/how-to/sidebar

  • Edge PWA Documentation: https://learn.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/

  • Edge DevTools: https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/

Last updated

Was this helpful?