Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@flexilla/alpine-modal

unoforge152MIT0.3.0TypeScript support: included

AlpineJS plugin for creating Modal, Dialog, alert dialog components

AlpineJS, Alpine Modal, Dialog, Modal, Alert Dialog, Modal Dialog, Alpine Modal Plugin, Alpine Dialog Plugin, Alpine Plugin, Alpinejs Pugin, ts, Dissmissible, component, interactive, intercative component, Flexilla, Dissmiss

readme

Flexilla Alpine

Alpine.js plugins powered by Flexilla library

Overview

Flexilla Alpine is a collection of Alpine.js plugins that wrap the core Flexilla library components. These plugins provide the same powerful functionality as the original Flexilla components, but through Alpine.js directives for seamless integration with your Alpine.js applications.

Available Plugins

Installation

Each plugin is published as a separate NPM package. Install the specific plugin you need:

# For collapse functionality
npm install @flexilla/alpine-collapse

# For dropdown functionality
npm install @flexilla/alpine-dropdown

Basic Usage

To use any Flexilla Alpine plugin:

  1. Import and register the plugin before initializing Alpine.js
  2. Use the provided directive in your HTML

Example using the collapse plugin:

import Alpine from 'alpinejs'
import CollapsePlugin from '@flexilla/alpine-collapse'

// Register the plugin
Alpine.plugin(CollapsePlugin)

Alpine.start()
<!-- Use in your HTML -->
<div x-data>
    <button data-collapse-trigger data-target="collapse1">Toggle</button>

    <div x-f-collapse id="collapse1">
        <p>This content can be collapsed/expanded</p>
    </div>
</div>

Documentation

For detailed documentation and examples, visit each plugin's README:

License

MIT