Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ilyichv/shadcn-zod-form
- Owner: ilyichv
- License: mit
- Created: 2024-09-09T21:54:42.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-07T18:55:24.000Z (3 months ago)
- Last Synced: 2025-01-06T16:11:14.932Z (13 days ago)
- Topics: hacktoberfest, react-hook-form, shadcn, shadcn-ui, zod
- Language: TypeScript
- Homepage:
- Size: 57.6 KB
- Stars: 150
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
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.