Animated form and sign-in components

Forms are where people decide whether to finish signing up or paying. The fields that cause the most friction are the same everywhere: passwords with hidden rules, one-time codes, card numbers, file uploads and dates.

Latch turns each of those into a small mechanism. The password strength meter is a pin-tumbler lock that springs open when every rule is met, the OTP input drops digits into slots and fuses them when the code is right, the card input embosses digits on a 3D card that flips for the security code, and the dropzone bends a field of dots toward the file you drag.

The pack

What a good one needs

Questions

Which fields are included?

A password strength meter, a one-time code input, a credit card input, a drag-and-drop file upload, a tag input, a date range picker, a time dial and a magic link button.

Do they validate or send anything?

They handle the input and its states on the page. Checking the password, the code or the card is done by your own server code.

How much does it cost?

Latch is $2, paid once for the whole pack.

Which frameworks are included?

React (TypeScript), Next.js App Router, Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion. React, Vue and HTML are each a thin wrapper over one framework-free core, so they look and move the same. The Next.js version is the React component marked as a client component, with an app/page.tsx example. The Tailwind version adds the pack colours as Tailwind theme tokens, so you place, size and recolour it with utility classes. The Motion version wraps it in a motion.div so you can animate it in, out and on scroll with Motion props; the motion inside still runs on its own engine. Most packs need no npm packages; the 3D ones use Three.js.

Can I use it in client and commercial projects?

Yes. Every pack can be used in unlimited personal and commercial projects, including client work. Paid packs cannot be resold or redistributed as a component library, template or UI kit; free packs are open source under the MIT License, so you may share them too.

Related