@flexilla/alpine-modal

0.0.4 • Public • Published

Alpine Modal

A port of Flexilla Modal for Alpine.js

Installation

CDN

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

NPM

npm install @flexilla/alpine-modal

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

import Alpine from 'alpinejs';
import PluginModal from '@flexilla/alpine-modal';

Alpine.plugin(PluginModal);

Alpine.start();

Usage

License

Copyright (c) 2025 Johnkat MJ and contributors.

Licensed under the MIT license, see LICENSE for details.

Package Sidebar

Install

npm i @flexilla/alpine-modal

Weekly Downloads

10

Version

0.0.4

License

MIT

Unpacked Size

65.1 kB

Total Files

8

Last publish

Collaborators

  • johnkat-mj