{"id":17857246,"url":"https://github.com/kouts/vue-modal","last_synced_at":"2025-04-06T02:08:20.516Z","repository":{"id":37801272,"uuid":"216218713","full_name":"kouts/vue-modal","owner":"kouts","description":"A customizable, stackable, and lightweight modal component for Vue.","archived":false,"fork":false,"pushed_at":"2024-08-29T04:21:04.000Z","size":4788,"stargazers_count":126,"open_issues_count":7,"forks_count":16,"subscribers_count":3,"default_branch":"next","last_synced_at":"2025-03-08T21:03:49.639Z","etag":null,"topics":["a11y","dialog","drawer","modal","panel","popup","sidebar","sidebar-menu","sidepanel","stackable","vue","vue-modal"],"latest_commit_sha":null,"homepage":"https://vue-modal-demo.netlify.app/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kouts.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-19T14:25:46.000Z","updated_at":"2025-01-30T22:39:03.000Z","dependencies_parsed_at":"2024-01-02T23:29:07.832Z","dependency_job_id":"7dc4645c-9590-4a11-a53f-447ba2371572","html_url":"https://github.com/kouts/vue-modal","commit_stats":{"total_commits":254,"total_committers":4,"mean_commits":63.5,"dds":0.05905511811023623,"last_synced_commit":"26dccbf8a72058f2f02341ba0b8ac88a5f432658"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kouts%2Fvue-modal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kouts%2Fvue-modal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kouts%2Fvue-modal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kouts%2Fvue-modal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kouts","download_url":"https://codeload.github.com/kouts/vue-modal/tar.gz/refs/heads/next","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423514,"owners_count":20936626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["a11y","dialog","drawer","modal","panel","popup","sidebar","sidebar-menu","sidepanel","stackable","vue","vue-modal"],"created_at":"2024-10-28T03:12:05.433Z","updated_at":"2025-04-06T02:08:20.476Z","avatar_url":"https://github.com/kouts.png","language":"Vue","funding_links":[],"categories":["Components \u0026 Libraries","UI Components [🔝](#readme)"],"sub_categories":["UI Components"],"readme":"# vue-modal \u003ca href=\"https://npm.im/@kouts/vue-modal\"\u003e\u003cimg src=\"https://badgen.net/npm/v/@kouts/vue-modal/next\"\u003e\u003c/a\u003e ![](https://img.badgesize.io/kouts/vue-modal/next/dist/vue-modal.umd.js.svg) ![](https://img.badgesize.io/kouts/vue-modal/next/dist/vue-modal.umd.js.svg?compression=gzip) ![](coverage/badge.svg)\n\nA customizable, stackable, and lightweight modal component for Vue.js 3.\n\n---\n\n:fire: **HEADS UP!** You're currently looking at vue-modal `next` branch for **Vue.js 3**.  \nIf you're looking for a Vue.js 2 compatible version of vue-modal, [please check out the `master` branch](https://github.com/kouts/vue-modal/tree/master).\n\n---\n\n\u003e vue-modal is designed with web applications in mind and tries to stick as much as possible\n\u003e to the accessibility best practices set in the [WAI-ARIA Dialog (Modal)](https://www.w3.org/TR/wai-aria-practices/#dialog_modal) section\n\u003e of W3C.\n\n## Features at a glance\n\n- Lightweight, minified gzipped version is \u003c **4kb**\n- Opens and closes with a data variable using `v-model` **or** with a `name` prop and `show`/`hide` functions\n- Includes sensible default styling but it's also highly customizable via user CSS classes and styles\n- Override modal title and content via slots\n- Modal intro and outro effects using CSS animation classes\n- Exposes Component events - `before-open`, `opening`, `opened`, `before-close`, `closing`, `closed`, `update:modelValue` (close)\n- Scrollable when its contents exceed screen height\n- Closeable by clicking on the upper right \"x\", the overlay or the `esc` key\n- **Stackable** - Multiple modal windows on top of each other\n- Ability to set initial focus on an element when the modal window opens, just set the **autofocus** attribute on an element inside the modal\n- **Focus management** traps keyboard focus - tabbed navigation inside the modal window\n- Ability to have unclosable modal windows\n- Render on demand or stay always in DOM with \"live\" mode\n- Modals appended to `\u003cbody\u003e` by default, ability to append to a custom element\n\n## Browsers support\n\n| [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png\" alt=\"Edge\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003cbr/\u003eEdge | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png\" alt=\"Firefox\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003cbr/\u003eFirefox | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png\" alt=\"Chrome\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003cbr/\u003eChrome | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png\" alt=\"Safari\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003cbr/\u003eSafari | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png\" alt=\"Opera\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003cbr/\u003eOpera |\n| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Edge                                                                                                                                                                                                  | last 2 versions                                                                                                                                                                                                   | last 2 versions                                                                                                                                                                                               | last 2 versions                                                                                                                                                                                               | last 2 versions                                                                                                                                                                                           |\n\nClick here for documentation and examples\nhttps://next--vue-modal-demo.netlify.app/\n\n# Development\n\nIn order to start development:\n\n```sh\npnpm i\npnpm run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkouts%2Fvue-modal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkouts%2Fvue-modal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkouts%2Fvue-modal/lists"}