@norbiros/nuxt-auto-form
Version:
Auto-generate Nuxt UI forms from Zod 4 schemas
75 lines (50 loc) โข 2.12 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 early development. Many features are missing and the API may change.
- [โจ Release Notes](/CHANGELOG.md)
- [๐ Documentation](https://@norbiros/nuxt-auto-form.norbiros.dev)
<!-- - [๐ Online playground](https://stackblitz.com/github/your-org/@norbiros/nuxt-auto-form?file=playground%2Fapp.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