@mantine-vue/modals

Vue modals management system equivalent to @mantine/modals
1,430
Install
npm install @mantine-vue/modals
Latest Version:3.6.0
Vue:3
License:MIT
Last Updated:Oct 17, 2026
Links: npm
Maintainer: hasan-alhawaj

@mantine-vue/modals

Centralized manager for dynamic and nested modals in Vue, equivalent to @mantine/modals.

Mantine Vue is an independent community port of Mantine for Vue 3. It is not affiliated with or endorsed by the Mantine team.

Installation

yarn add @mantine-vue/modals @mantine-vue/core @mantine-vue/store

# or with npm
npm i @mantine-vue/modals @mantine-vue/core @mantine-vue/store

Usage

<script setup>
import { ModalsProvider, modals } from '@mantine-vue/modals'

function openConfirm() {
  modals.openConfirmModal({
    title: 'Please confirm your action',
    labels: { confirm: 'Confirm', cancel: 'Cancel' },
    onConfirm: () => console.log('Confirmed'),
  })
}
</script>

<template>
  <ModalsProvider>
    <button @click="openConfirm">Open confirm modal</button>
  </ModalsProvider>
</template>

Documentation

Full API and examples: mantine-vue.dev/x/modals

Peer dependencies

  • vue ^3.5.0
  • @mantine-vue/core
  • @mantine-vue/store

License

MIT

Related Packages

@mantine-vue/table

A fully featured Vue 3 implementation of TanStack Vue Table

3,422
@mantine-vue/charts

Charts components built with Apache ECharts and Mantine Vue

3,282
@mantine-vue/schedule

Vue schedule and calendar components equivalent to @mantine/schedule

2,964
@mantine-vue/contextmenu

Desktop-grade context menu extension for Mantine Vue

2,744
@mantine-vue/notifications

Vue notifications system equivalent to @mantine/notifications

2,635

Version History

Version Released Vue License
3.6.0 ^3.5.0 MIT
3.5.0 ^3.5.0 MIT
3.4.0 ^3.5.0 MIT
3.3.0 ^3.5.0 MIT
3.2.0 ^3.5.0 MIT