# wire-elements/modal

Livewire component that provides you with a modal that supports multiple child modals while maintaining state.

Repository: https://github.com/wire-elements/modal
Canonical: https://ross.abutalabs.com/products/wire-elements-modal
Homepage: https://wire-elements.dev
Language: PHP
License: MIT
License Family: permissive
Topics: laravel, livewire, livewire-components
Last push: 2026-02-18T10:46:12+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 68, release rhythm 55, longevity 100
- inputs: {"age_days": 1982, "days_push": 196, "days_rel": 222, "gap_med": 31.0, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1211, forks 150 (observed 2026-08-28T04:04:00.135440+00:00)

## What it is
A Laravel Livewire component package that provides modals supporting multiple nested child modals while maintaining state. Built with TailwindCSS and distributed via Composer for use in Laravel applications.

## Use cases
- show modals in a laravel livewire app
- stack multiple nested modals while preserving state
- open modals by dispatching livewire events with arguments
- add confirmation dialogs to destructive actions
- customize modal markup for a non-tailwind css framework
- upgrade an existing livewire-ui-modal integration to livewire v3

## When to choose
- you use Laravel with Livewire and need stateful, nestable modals
- you want a Composer-installable modal component styled with TailwindCSS
- you need to open modals dynamically from any component via events

## When to avoid
- your project does not use Laravel or Livewire
- you need a framework-agnostic vanilla JS modal library
- you require highly custom modal behavior beyond nested stateful modals

## Facets
- artifact type: library
- maturity: active
- function: ui-components, state-management, frontend-framework
- domain: web-development, frontend
- platform: php
- tags: laravel, livewire, modal, tailwindcss, blade, livewire-components, web-server

## Member repositories
- wire-elements/modal (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:00.135440+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:18:05.949193+00:00, confidence not recorded.
  - readme: https://github.com/wire-elements/modal (fetched 2026-08-28T04:04:00.135440+00:00, sha 794adbff8ca4)
  - homepage: https://wire-elements.dev (fetched 2026-08-29T12:26:01.916458+00:00, sha 7006911088ea)
  - site_page: https://wire-elements.dev/docs/getting-started/upgrade-guide (fetched 2026-08-29T12:26:01.925285+00:00, sha 065a9e402400)
- Data as of 2026-08-30T08:39:29.467469+00:00.
