npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@dynamicforms/vuetify-modal-form-kit

v0.12.1

Published

Vue 3 + Vuetify 4 library providing a promise-based programmatic dialog API with a sequential dialog queue, a TypeScript fluent form layout builder (FormBuilder), and built-in keyboard shortcuts for dialog (Enter/Esc).

Downloads

1,938

Readme

@dynamicforms/vuetify-modal-form-kit

A Vue 3 + Vuetify 4 library for dialogs and form layouts:

  1. Dialogs from code or from a template — await modal.message(), await modal.yesNo() and await modal.custom() open a dialog and resolve with the name of the action that closed it. <DfModal> declares a dialog in a template.
  2. One dialog on screen — dialogs are kept on a stack. Opening a second dialog hides the first without closing it; the first is shown again when the second closes. <ModalView /> draws the stack and is mounted once.
  3. Form layouts in code — FormBuilder defines responsive Vuetify grid layouts (rows → columns → components) in TypeScript.
  4. Keyboard shortcuts — <Enter> confirms and <Esc> cancels the active dialog. While an overlay above the dialog is open, such as a select menu, a date picker or a tooltip, one <Esc> closes that overlay and leaves the dialog open.

A FormBuilder layout renders in the body of a <DfModal>, so a dialog can hold a form laid out in code.


Documentation

Full documentation, the API reference and runnable examples are available at https://docs.velis.si/dynamicforms/vuetify-modal-form-kit/.

The migration guide lists every breaking change with before/after code.


Installation

npm install @dynamicforms/vuetify-modal-form-kit

The package is ESM only. engines.node is >=22.12, the first Node release that supports require() of an ES module, which a CommonJS consumer uses. A CommonJS consumer still needs a bundler: the peers import their own stylesheets, which Node cannot load.

import { createApp } from 'vue'
import { DynamicFormsInputs } from '@dynamicforms/vuetify-inputs'
import { DynamicFormsModalFormKit } from '@dynamicforms/vuetify-modal-form-kit'
// this library has no stylesheet; the inputs it renders use the vuetify-inputs one
import '@dynamicforms/vuetify-inputs/styles.css'

const app = createApp(App)
app.use(vuetify)
// registers the df-* components a layout names, such as dfInput()'s df-input
app.use(DynamicFormsInputs, { registerComponents: true })
app.use(DynamicFormsModalFormKit, { registerComponents: true })
app.mount('#app')

Quick start

Mount <ModalView /> once in the root template. Dialogs can then be opened from any code:

import { modal } from '@dynamicforms/vuetify-modal-form-kit'

await modal.message('Done', 'Your changes have been saved.')

const answer = await modal.yesNo('Delete item', 'This cannot be undone. Continue?')
if (answer === 'yes') {
  await deleteItem()
}

Build a form layout in code and render it with <FormRender>:

import { FormBuilder } from '@dynamicforms/vuetify-modal-form-kit'

const form = new FormBuilder()

form.simple(2)
  .dfInput({ label: 'First name' })
  .dfInput({ label: 'Last name' })
  .simple()
  .dfTextArea({ label: 'Notes', rows: 3 })
<FormRender :layout="form" />

The Getting Started guide covers the setup and the plugin options.


License

MIT © Jure Erznožnik