This Confluence user macro lets users add a customizable floating panel to any page. One can configure the panel’s background color, size, position (top-left, top-center, top-right, or under the Confluence sidebar), etc.
The panel accepts rich-text content, including built-in Confluence macros like Table of Contents or Excerpt, allowing you to reuse native features with enhanced visual positioning and floating behavior.
## Background color
#set($bg = "var(--ds-surface, #FFFFFF)")
#if($parameters["transparentBackground"])
#set($bg = "transparent")
#end
## Width
#set($width = "10.5em")
#if($parameters["width"])
#set($width = $parameters["width"])
#end
## Height
#set($height = "")
#if($parameters["height"])
#set($height = "height: $parameters['height'];")
#end
## Border
#set($border = "")
#if($parameters["border"])
#set($border = "border: 1px solid #d9d9d9; border-radius: 8px;")
#end
## Positioning
#*
beneath-sidebar means the panel is positioned under the Confluence sidebar.
If the sidebar is open, the panel will be hidden behind it.
If the sidebar is closed, the panel will appear aligned to the left edge of the page.
*#
#set($top = "17%")
#set($right = "5%")
#if($parameters["position"] == "top-left")
#set($right = "70%")
#elseif($parameters["position"] == "beneath-sidebar")
#set($right = "85%")
#end
<div class="aui-dialog2 aui-layer" style="top: $top; height: 80em; right: $right; display: block; visibility: hidden; z-index: 10;">
<div style="padding: 0.5em; float: right; width: $width; background-color: $bg; $height $border visibility: visible; overflow: auto;">
$body
</div>
</div>Display the creation date of the current Confluence page
Generate an alphabetical list of labels from all spaces, linking each label to its corresponding content pages
Displays a list of pages in a specific space with a specified title or label
Display a list of Confluence pages with a CSV download feature
Display a list of clickable labels for a specified page tree
Based on CQL, show a table with the following columns: Page Title, Author, Updated, and Status
Show confetti bursts and a motivational message upon saving an edited page
Add a floating scroll-to-top arrow button in pages. Always visible, lightweight, and improves navigation for long documents.
Create dropdown menus in Confluence Cloud with predefined option sets, multiselect support, and permission-based access controls
Perform customized searches based on labels, content types, and other parameters