OffCanvas / Drawer – Responsive Slide-In Drawer & Popup System
OffCanvas / Drawer is a flexible, highly customizable, and lightweight WordPress Gutenberg block that lets you design slide-in drawers, off-canvas navigation menus, and popup panels that slide in from any direction: left, right, top, or bottom. Perfect for mobile navigation menus, WooCommerce shopping cart sidebars, newsletters, exit-intent popups, slide-out contact forms, site announcements, and help desks — all without writing a single line of code. Built natively for the WordPress Block Editor, it supports InnerBlocks, meaning you can place any other Gutenberg blocks (paragraphs, images, forms, custom widgets) directly inside the OffCanvas drawer. It also features a custom shortcode generator allowing you to save layouts and embed them anywhere on your site using the [offcanvas-block id="POST_ID"] shortcode. The plugin is fully responsive, SEO-friendly, performance-optimized, and built to integrate seamlessly with any WordPress theme. Key Features Native Gutenberg Block: Full visual integration inside the WordPress Block Editor. InnerBlocks Supported: Drop any block inside the drawer, including forms, menus, widgets, and shortcodes. Shortcode Generator: Save and reuse your OffCanvas templates anywhere via copy-to-clipboard shortcodes. 4-Direction Slide-Ins: Position drawers on the Left, Right, Top, or Bottom of the viewport. Smart Auto Triggers: Trigger popups based on user behavior (time delay, scroll depth, exit-intent, inactivity, and selector in-view). Responsive Layouts: Set device-specific positions, slide directions, and dimensions for desktop, tablet, and mobile devices. Touch & Swipe Gestures: Smooth, native-feeling mobile interactions with swipe-to-open and swipe-to-close capabilities. Custom Positioned FAB: Floating Action Button triggers with precise offset controls and drag-and-drop editor positionin Free Features Core Layout & Spacing Four Direction Placements: Position the offcanvas panel at the Left, Right, Top, or Bottom edge of the screen. Default Trigger Button: Use the built-in trigger button to toggle the panel open and closed. Body Scroll Lock: Prevent background body scrolling when the OffCanvas panel is active. Standard Backdrop Toggle: Enable a dark overlay backdrop behind the active panel. Trigger Button Customization Block Alignment: Left, Center, or Right alignments for block-level buttons. Typography Controls: Adjust font size, font family, and font weight. Colors & Typography: Full customization of button text color and background color. Ripple Click Effect: Optional ripple animation effect on clicking the trigger. Margin Controls: Fine-tune trigger button outer margins. Close Button Customization Flexible Color Picker: Pick color and background values for the close icon. Size & Shadow: Adjust the scale (px) and shadow styling of the close button. Predefined Placements: Place the close button in the Top-Right, Top-Left, Bottom-Right, or Bottom-Left corners. Header & Typography Editable Drawer Header: Customize the text of the header title. Title Styling: Control title typography (font size, weight) and colors. Header Spacing: Customize the header background color and visibility options. Templates & Shortcodes Shortcode Builder: A dedicated custom post type offcanvas-block lets you create drawers, save them, and copy the shortcode [offcanvas-block id="..."] directly from the admin dashboard list. InnerBlocks Compatibility: Full freedom to place text, images, sliders, newsletters, and third-party plugin blocks inside the drawer. Pro Features Upgrade to OffCanvas Pro to unlock advanced targeting, styling, and behavior controls: Floating Action Button (FAB) Trigger Corner Anchor Placements: Place the trigger as a Floating Action Button in the Bottom-Right, Bottom-Left, Top-Right, or Top-Left corners. Custom Absolute Positioning: Position the FAB anywhere on the screen. Features drag-and-drop editor control with a smart 8px Euclidean threshold to prevent accidental shifts on clicking. Offsets & Layouts: Adjust X and Y offset values to ensure perfect alignments. Visual Effects: Set button size, icon size, borders, border radius, pulse animations, custom shadows, and hover transitions. Rotation Angle: Rotate the FAB to match vertical triggers or layout designs. Smart Auto Triggers & Behavior Exit Intent Detection: Trigger the OffCanvas panel automatically when the user’s cursor leaves the viewport on desktop. After Time Delay: Open the drawer automatically after a configurable delay (in seconds/minutes). Scroll Depth Trigger: Open the panel when a visitor scrolls down a specific percentage (e.g. 50%) of your page. While Target Section in View: Detect when a specific HTML selector (Class or ID) scrolls into the viewport to trigger the drawer. On Inactivity: Display the popup after a period of user inactivity. Trigger Frequency Controls: Limit triggers to show Always, Once per session (sessionStorage), or Once per day (localStorage) to avoid visitor frustration. External Custom Trigger Custom Selectors: Bind the OffCanvas drawer to any custom link, menu item, or button on your page by inputting its Class or ID (e.g. .my-custom-button or #open-drawer-link). Hide Default Trigger: Keep the built-in trigger button hidden when using custom CSS selectors. Advanced Animations & Transitions Premium Transition Types: Slide, Fade, Push, Reveal, Zoom, Flip, and Bounce effects. Configurable Duration: Set exact transition entry and exit duration times in milliseconds (100ms – 5000ms). Easing Presets: Smooth easing animations (ease, ease-in, ease-out, ease-in-out, linear). Responsive Mobile Optimizations Mobile-Specific Placement: Set a different position for mobile screens (e.g., Slide-in Right on desktop, Bottom Sheet on mobile). Mobile Slide Direction: Override the slide-in animation direction specifically for mobile layout visitors. Touch & Swipe Gestures: Smooth swipe-to-open and swipe-to-close touch controls for mobile screens. Premium Design Customization Responsive Dimensions: Customize the panel width and height independently for Desktop, Tablet, and Mobile screens. Advanced Backdrop Blur: Customize backdrop overlay color, transparency opacity, and apply modern CSS backdrop-filter blur effects (0px – 30px). Custom Close Button Icon: Upload or input any custom SVG string to replace the default close button icon. Borders & Hover Spacing: Custom borders, border radius, and hover state box-shadows on trigger buttons.
Top keywords
- button16×1.79%
- trigger16×1.79%
- custom13×1.45%
- mobile10×1.12%
- drawer8×0.89%
- offcanvas8×0.89%
- panel7×0.78%
- block6×0.67%
- close6×0.67%
- color6×0.67%
- controls6×0.67%
- close button5×0.56%
SimpleTOC – Table of Contents Block
Add a Table of Contents block to your posts and pages. The TOC is a nested list of links to all heading found in the post or page. To use it, simply add a block and search for “SimpleTOC” or just “TOC”. The maximum depth of the toc can be configured in in the blocks’ sidebar among many other options. There can hide the headline “Table of Contents” and add your own by using a normal heading block. Spin up a new WordPress instance with the SimpleTOC plugin already installed. User Feedback “It is lightweight, stable, and fully compatible with WordPress Full Site Editing. A reliable solution that integrates seamlessly and performs exactly as expected.” — @js100 on wordpress.org “Does the job perfectly, and adds no bloat.” — @clicknathan on wordpress.org “Simple yet powerful. Great plugin that does exactly what you need.” — @mixey on wordpress.org Accessibility This plugin is designed & developed for WCAG 2.2 level AA conformance. The plugin is tested with assistive technology and intended to be accessible, however some third party plugins or themes may affect the individual accessibility on a given website. If you find an accessibility issue, please let us know and we’ll try to address it promptly. Hidden TOCs use native and semantics without extra ARIA references that require custom IDs. Features Designed for Gutenberg. Zero configuration: Add the SimpleTOC block to your post and that’s it. Minimal and valid HTML output. Utilizes the browser’s built-in details tag for a collapsible interface. No JavaScript or CSS by default. Optional features such as the accordion menu, smooth scrolling, or box style add minimal assets only when enabled. Optional box style for the TOC with a default gray background. Style SimpleTOC with Gutenberg’s native group styling options. Inherits the style of your theme. Smooth scrolling effect using CSS. Accessibility built-in by following web standards. Optional ARIA Label and navigation role attributes. Translated in multiple languages. Including German, Japanese, Chinese (Taiwan), Dutch, Brazilian Portuguese, French, Spanish and Latvia. Ideal for creating a Frequently Asked Questions section on your website. Customization Administrators can utilize global settings to supersede the individual block settings. Add background and text color with Gutenberg groups. Native block support for wide and full width. Control the maximum depth of the headings. Choose between an ordered, bullet HTML list. Or indent the list. Enable a box style and choose a box color directly in the block sidebar. Select a heading level or turn it into a paragraph. Disable the h2 heading of the TOC block and add your own. Compatibility GeneratePress and Rank Math support. Works with popular AMP plugins. How to contribute SimpleTOC is open-source and developed on GitHub Pages. If you find a bug or have an idea for a feature please feel free to contribute and create a pull request. Credits Many thanks to Tom J Nowell and and Sally CJ who both helped me a lot with my questions over at wordpress.stackexchange.com And many more thanks to all the developers on GitHub who helped me making SimpleTOC what it is today! Thanks to Quintus Valerius Soranus for inventing the Table of Contents around 100 BC.