Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ilyichv/shadcn-zod-form

CLI tool to convert Zod schemas into shadcn/ui forms.
https://github.com/ilyichv/shadcn-zod-form

hacktoberfest react-hook-form shadcn shadcn-ui zod

Last synced: 6 days ago
JSON representation

CLI tool to convert Zod schemas into shadcn/ui forms.

Awesome Lists containing this project

README

        

# shadcn-zod-form

Generate [shadcn/ui](https://ui.shadcn.com/) forms from [Zod](https://github.com/colinhacks/zod) schemas.

## Features

- Generate shadcn/ui forms from Zod schemas
- Automatically map Zod types to appropriate form components
- Easy-to-use CLI interface

## Installation

```bash
npx shadcn-zod-form@latest init
```

## Usage

```bash
npx shadcn-zod-form@latest generate ./path/to/zod/schema.ts
```

## License

MIT

## Contributing

Contributions are welcome! Please read [CONTRIBUTING.md](./CONTRIBUTING.md) for more details.