Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Alpine Offcanvas

Simple Interactif Offcanvas Directive for Alpine.js

Installation

CDN

Include the following <script> tag in the <head> of your document, just before Alpine.

NPM

npm install @flexilla/alpine-offcanvas

Add the x-offcanvas directive to your project by importing the package before starting Alpine.

import Alpine from 'alpinejs';
import PluginOffcanvas from '@flexilla/alpine-offcanvas';

Alpine.plugin(PluginOffcanvas);

Alpine.start();

Usage

License

Copyright (c) 2025 Johnkat MJ and contributors.

Licensed under the MIT license, see LICENSE for details.