DEV Community

Rob Levin
Rob Levin

Posted on

AgnosticUI + Vest

I had the pleasure of playing with Vest (a form-validation framework inspired by unit testing libraries like Mocha or Jest) over the weekend and was able to hook it up with the Svelte package of my AgnosticUI UI component library.

Here's the AgnosticUI + Vest Demo 🍻


Example signup form using AgnosticUI and Vest


First Impressions of Vest

I really love that Vest is so modular and cohesive with its declarative validation style that feels just like you're using a familiar unit testing library ❤️

Hats off to Evyatar Alush — Vest's creator — for making such a pleasure to use form validation library 🔥

The demo I've linked above features a bit of custom code to only kick in field validation if a field has been touched (aka blur). Otherwise, I think it's a pretty standard signup form and the GitHub source code is all linked — I gotchu 💪

Let me know what you guys think 🙏

Top comments (0)