@norbiros/nuxt-auto-form
Version:
Auto-generate Nuxt UI forms from Zod 4 schemas
76 lines (51 loc) โข 2.11 kB
Markdown
# ๐งพ Nuxt Auto Form
[![npm version][npm-version-src]][npm-version-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]
Auto-generate Nuxt UI forms from Zod 4 schemas
> [!WARNING]
> This module is in **beta**.
> All ideas/suggestions/bug reports are welcome!
- [โจ Release Notes](/CHANGELOG.md)
- [๐ Documentation](https://nuxt-auto-form.norbiros.dev)
- [๐พ Playground](https://stackblitz.com/github/Norbiros/nuxt-auto-form/tree/master/playground?file=app%2Fcomponents%2FMyForm.vue)
## Features
* โค๏ธ **Powered by Zod & Nuxt UI**: Reduce your boilerplate in seconds, without complex rewrites.
* ๐ **Schema-Driven Forms**: Automatically generates forms based on Zod schemas, ensuring type safety and validation.
* ๐จ **Good Looking**: Leverages Nuxt UI components for a consistent and modern design.
* ๐ **Dynamic Field Rendering**: Supports various field types, including text inputs, selects, checkboxes, and more.
* โ๏ธ **Customizable**: Easily customize any button, field, and input.
## Quick Setup
Install the module to your Nuxt application with one command:
```bash
npx nuxi module add @norbiros/nuxt-auto-form
```
That's it! You can now use Nuxt Auto Form in your Nuxt app โจ
## Contribution
```bash
# Install dependencies
pnpm install
# Generate type stubs
pnpm dev:prepare
# Develop with the playground
pnpm dev
# Develop documentation
pnpm docs:dev
# Run ESLint
pnpm lint
pnpm lint:fix
# Run e2e tests
pnpm e2e
# Release new version
pnpm run release
```
## License
Made with ๐
Published under the [MIT License](./LICENCE).
<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@norbiros/nuxt-auto-form/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/@norbiros/nuxt-auto-form
[license-src]: https://img.shields.io/npm/l/@norbiros/nuxt-auto-form.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/@norbiros/nuxt-auto-form
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
[nuxt-href]: https://nuxt.com