strapi-plugin-responsive-admin
A plugin that makes the **Strapi 5** admin panel fully responsive and usable on mobile and tablet devices.
strapi-plugin-responsive-admin
A plugin that makes the Strapi 5 admin panel fully responsive and usable on mobile and tablet devices.
The existing strapi-5-plugin-responsive-backend plugin no longer works with current Strapi 5 versions because it relies on data-strapi-header attributes that no longer exist in the DOM. This plugin uses a different approach — it uses a MutationObserver to mark key elements with stable CSS classes, then applies responsive styles based on those classes.
How it works
Instead of relying on dynamic styled-components class names or removed data attributes, this plugin:
- Observes the DOM via
MutationObserver - Marks key layout elements with stable classes:
strapi-icons-nav— the icon sidebarstrapi-content-nav— the "Content" navigation panelstrapi-layout-wrapper— the flex wrapper containing content nav + main content
- Applies CSS media queries targeting these stable classes
Features
- Horizontal icon navbar at the top on mobile
- Content nav stays as a narrow sidebar next to the content area
- Tables get horizontal scroll
- Modals resize to 95% width
- Inputs stretch to full width in edit views
- Works at
max-width: 900px
Installation
npm install strapi-plugin-responsive-adminThen add to config/plugins.ts:
export default () => ({
'responsive-admin': {
enabled: true,
},
});Rebuild the admin panel:
npm run buildCompatibility
- Strapi 5.x
- Tested on Strapi 5.24.1
Author
License
MIT
Install now
npm install strapi-plugin-responsive-admin
Create your own plugin
Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.