@onderwijsin/nuxt-ui-form-extensions
| Install | |
|---|---|
npm install @onderwijsin/nuxt-ui-form-extensions |
|
| Latest Version: | 0.2.12 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Oct 18, 2026 |
| Links: | GitHub · npm |

@onderwijsin/nuxt-ui-form-extensions
Nuxt UI form extensions for Nuxt 4. The module provides a small foundation for building forms that keep local edits separate from canonical application state.
The module will likely grow over time with additional form utilities as common patterns emerge.
Module features
useDraftFormcreates a deep-cloned editable draft from canonical state.- Dirty-state tracking detects nested changes without mutating the source.
- Clean drafts follow source changes, while dirty drafts preserve local edits.
- Submission state and failed-save handling are included for async persistence.
- Concurrent submit calls are ignored while a save is pending, and edits made while saving are kept.
- Form composables are auto-imported by the Nuxt module.
Installation
pnpm add @onderwijsin/nuxt-ui-form-extensions @nuxt/ui
The application supplies @nuxt/ui as a peer dependency so module runtime code shares the
application's instances. Nuxt module registration remains automatic.
Register the module in nuxt.config.ts:
export default defineNuxtConfig({
modules: ["@onderwijsin/nuxt-ui-form-extensions"]
});
Agent skill
Install the consumer-facing skill for this module with:
npx skills add onderwijsin/nuxt-modules --skill nuxt-ui-form-extensions
The application-installed @nuxt/ui is initialized as a module dependency automatically. The
consuming application should also follow the
Nuxt UI installation guide for its
Tailwind CSS setup.
Compatibility
- Nuxt 4
- Node.js 24 or newer; Node.js 22 may work but is untested and unsupported
Developed and tested against Node.js 24 and Nuxt 4.5.x. Versions outside the current CI matrix are not continuously tested. Nuxt 3 is not guaranteed.
Related Packages
Server-safe Directus REST integration for Nuxt applications.
Nuxt Turnstile integration with client helpers and server-side validation.
Nuxt module for runtime theme selection and custom color editing in Nuxt UI.
Shared runtime and Nuxt module utilities for Onderwijs in modules.
Provider-independent newsletter signup endpoint for Nuxt.
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.2.12 | ^3.0 | MIT | |
| 0.2.11 | ^3.0 | MIT | |
| 0.2.10 | ^3.0 | MIT | |
| 0.2.9 | ^3.0 | MIT | |
| 0.2.8 | ^3.0 | MIT | |
| 0.2.7 | ^3.0 | MIT | |
| 0.2.6 | ^3.0 | MIT | |
| 0.2.5 | ^3.0 | MIT | |
| 0.2.4 | ^3.0 | MIT | |
| 0.2.3 | ^3.0 | MIT | |
| 0.2.2 | ^3.0 | MIT | |
| 0.2.1 | ^3.0 | MIT | |
| 0.2.0 | ^3.0 | MIT |