Validation
The checks a form runs before it sends anything, starting with whether a string is shaped like an email address.
No imports, so any form can name it, on the client or in a server action. isEmail asks the shape only — something, one @, a domain with a dot and an ending of two letters or more, no spaces, and no more than 254 characters, the most an address can be — which catches a slip before anything is sent. It is one pass over the string with no backtracking pattern, and anything longer than an address is refused before it is scanned, so 40 KB pasted into a field costs what a real address does; only a message that arrives proves an address exists. Trim what the reader typed before asking: a space is refused. The kit's sign-up, contact and request forms all ask it, so an address one of them accepts, the others accept too.
Install
npx shadcn@latest add @vibra/validationNeeds the @vibra registry in your components.json — set it up once.