CMS Critic Logo
  • Articles
  • Products
  • Critics
Login Person Icon

Grav 2.0 Developer Guide: Admin Next Panels & Menu Bar

Login Person Icon
Home
Articles
Products
Likes
← In the News

Grav 2.0 Developer Guide: Admin Next Panels & Menu Bar

Grav · June 10, 2026

About this announcement

Not every plugin needs a whole admin page. Sometimes you just want a button in the toolbar, or a little assistant in the corner, or a panel that pops out next to whatever you're editing. AI Pro drops a chat assistant into the bottom-right of every admin screen. Revisions Pro slides a revision-history panel in beside the page you're editing. Warm Cache adds one button to the top bar that warms your cache and gets out of the way. These are the lightweight Admin Next integration points, and there are three of them. They get confused for each other a lot, so here's the quick map before we dig in: Floating widgets are the always-available tools in the bottom-right corner. Global. They don't care what page you're on. Context panels slide in from the side and do know what you're editing. They're attached to the editor. Menu bar items are action buttons in the top toolbar. One click, one action. Pick by what the thing needs to know and where it should live. Let's take them in turn. Floating Widgets A floating widget is the little circle in the bottom-right corner that opens a panel when you click it. AI Pro and AI Translate are both widgets. They're available on every admin screen, they float above whatever you're doing, and they're a good fit for a tool you want within reach all the time without it ever taking over the page. You register one with onApiFloatingWidgets. Here's AI Pro's, near enough: PHPCopypublic function onApiFloatingWidgets(Event $event): void { $widgets = $event['widgets'] ?? []; $widgets[] = [ 'id' => 'ai-pro-chat', 'plugin' => 'ai-pro', 'label' => 'AI Assistant', 'icon' => 'robot', // Font Awesome name (plain, no fa- needed) 'gradient' => 'linear-gradient(135deg, #6366f1, #8b5cf6)', 'priority' => 10, 'width' => 420, 'height' => 580, 'useStandardHeader' => false, //

Read Full Story
Grav logo

Grav

Published by Grav

Grav is not your average CMS. It's an open source, flat-file NoDB CMS written for PHP 7.3.6+ that is focused on being crazy fast, easy to learn and use, with powerful features to enable it be easily extended. Content is just simple markdown…

View product profileRead the original story
CMS Critic Logo
  • In the News
  • Events
  • Jobs
  • Podcasts
  • Programs
  • Critics
  • About
  • Contact Us
  • Privacy
  • Terms
  • Disclaimer

©2026 CMS Critic. All rights reserved.