DEV Community

Cover image for Forms in seconds with ShardCn forms
Giuliano1993
Giuliano1993

Posted on

Forms in seconds with ShardCn forms

Good morning everyone and happy MonDEV! ☕

We are here again ready to start a new week discovering a new tool together!

Last week we had to deviate from the planned content due to some general malaise, but it was supposed to be the turn of a front-end tool, so here we are quickly catching up 😁

How many of you know and use Shadcn? How many of you fell in love with it? I discovered it quite recently and started using it in some personal projects, and I can only say that I really appreciate both the speed of creating components in this way that already have a base, and the customization possibilities that this method brings along.

But I'm not here to talk to you about Shadcn, which you probably already know if you don't live under a rock like myself.

I want to talk to you instead about another tool that leverages Shadcn to speed up the creation of forms in React!

It's called shadcn-form and it's an open-source project by a developer tired of having to revisit the same development logic for forms every time and write them from scratch.
Through a simple WYSIWYG editor, it allows you to select Shadcn components for your form, modify the options, arrange them, and provides you with a real-time preview and the code for the entire component file for this form.

It's really quick and easy to use, and I think I'll use it next time I need to create a form in React.

Of course, it's not perfect; there are some more advanced components that require additional external installation steps to Shadcn (which are still pointed out to you), and in general, some steps could be documented a little better; nothing that some good PRs couldn't fix! Moreover, they have activated a feature request and evaluation system for workflow management and it seems to be in full swing, so despite the small flaws, I think it's a tool to try and keep an eye on for future developments :D

Articles of the week

  • How to Write a Game in Under 13 Kb While Taking Care of a Baby: almost all of us have wondered at some point in our career what it's like to develop a video game. Some did it once, some made a career out of it, some eventually gave up for a thousand valid reasons. This article tells the story of a game for js13kgames, an annual challenge on developing a game with a total weight of less than 13kb. Sounds tough, right? Read this article and maybe you'll get some interesting insights!

  • Laravel VS Symfony: The PHP Framework Showdown: not everyone knows it, but my experience with PHP frameworks is much more linked to Symfony than Laravel. This brief article concisely, quickly, but also pragmatically explains the difference between the two! It's always useful to know which tool is right for the project we are developing ;).

Having said that, that's all, and it's time to leave you to the beginning of this week! I hope you found some interesting insights, as always I look forward to your feedback!

I just have to wish you

Happy Coding 0_1

Top comments (0)