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%
WP Swiper
WP Swiper Gutenberg Block is the most modern free mobile touch slider with hardware accelerated transitions and amazing native behavior. This powerful plugin is designed to be used in mobile websites, mobile web apps, and mobile native/hybrid apps, providing you with a range of features and customization options to help you create stunning slideshows, image galleries, and more. Features: Use any block available in Gutenberg to create your slider Hardware accelerated transitions for fast and smooth animations Customize every aspect of your slider, including navigation and pagination options, autoplay settings, and more Mobile-first design ensures your sliders look great on any device Multiple slide layouts to choose from, including horizontal and vertical options Dynamic content support, including support for video slides and dynamic image sources Easy to use and beginner-friendly, with a user-friendly interface and intuitive controls Built with performance in mind, ensuring your sliders load quickly and efficiently WP Swiper Gutenberg Block is the ultimate tool for creating visually stunning displays on mobile devices. Whether you’re creating a mobile website, mobile web app, or mobile native/hybrid app, WP Swiper Gutenberg Block has everything you need to create beautiful and engaging slideshows, image galleries, and more. Download WP Swiper Gutenberg Block today and take your mobile displays to the next level! Support my work and fuel my creativity by buying me a virtual coffee on BuyMeACoffee New Features and suggestions Contact Me BETA TESTING We’re actively developing new features and improvements for WP Swiper! Beta versions are available for testing, and we’d love your feedback to help make the plugin even better. How to participate: 1. Download and install the latest beta version 2. Test the new features in your environment 3. Report any issues or provide feedback on our GitHub repository Report Issues & Feedback: Found a bug or have suggestions? Please submit them here: https://github.com/andreyc0d3r/wp-swiper/issues Your feedback is invaluable in helping us improve WP Swiper for everyone! NEW RELEASE WP Swiper version 1.2.0 is now live! This update introduces major changes, including a streamlined configuration with the new data-swiper attribute, a new WP Swiper Settings page, optimized asset loading, and more. Please note that the legacy configuration method will be deprecated in future releases. For more details on what’s new and how to migrate, check out the full update announcement on the WP Swiper Blog. wpswiper_frontend_js_register_args Filter The wpswiper_frontend_js_register_args filter allows users to customize parameters when enqueueing the frontend-js script. This filter enables you to modify the script’s dependencies, control whether it loads in the footer, and specify additional loading strategies such as async or defer. Parameters deps: (array) The script dependencies for frontend-js. Default value is ['wpswiper-bundle']. You can modify this to include additional dependencies or remove existing ones. args: (array|bool) An optional array for additional script loading strategies. If provided, it may be an array with a strategy key (set to either 'async' or 'defer'). If not specified, it defaults to false, indicating that no special loading strategy is applied. For more information, read the WordPress documentation on wp_enqueue_script. Example Usage To modify the default values, add the following code to your functions.php file or your custom plugin: add_filter('wpswiper_frontend_js_register_args', function($args) { // Modify script dependencies $args['deps'] = ['wpswiper-bundle', 'jquery', 'your-custom-dependency']; // Specify an additional loading strategy, such as async or defer $args['args'] = [ 'in_footer' => false, 'strategy' => 'defer' ]; // Options: 'async' or 'defer' return $args; }); This filter provides flexibility in how the frontend-js script is loaded, allowing for optimizations tailored to your specific site needs. API Parameters Loop Parameters loopAddBlankSlides Type: boolean Default: true Description: Automatically adds blank slides if you use Grid or slidesPerGroup and the total amount of slides is not even to slidesPerGroup or to grid.rows loopAdditionalSlides Type: number Default: 0 Description: Allows to increase amount of looped slides !!! IMPORTANT !!! I use this plugin internally to build awesome sliders. At the moment only essential Swiper options are available. More to come!!! If you urgently need a feature, please reach out to me. If you are a designer and have an interface design in mind, let me know. The backend UI is not the prettiest thing at the moment. But it’s very intuitive and does the job! The interface is set up as a series of tabs, each tab controls a slide. Click on the tab and you may upload an image. Click on the WP Swiper block and you can control slider overlay + color overlay. Another note re: backend UI, the original idea was generate the functional slider within the editor. But theres an issue with conteneditable HTML elements. I lodged an issue on official swiper github repo for them to resolve. Leave a comment for them to prioritise the solution. If you want to use the slide with text. Select slide, add image, the image gonna appear as a background on the frontend. If you want to use the slider for images, just add a regular image block. Features: Add image overlay for the whole slider + control opacity Add color overlay for the whole slider + control opacity Add image to the slider Add content (text, headings, anything…) to the slider Position content for each slider More Features to be added: Control height of the slider Animations Other features from the official swiper docs