-
Floating label animations — Labels smoothly translate and scale between resting position (inside, large) and floating position (top, small) on focus or when filled.
-
Three visual variants — Outlined, filled, and underlined, switchable via a live toggle pill group.
-
Six interaction states — Default, focused, filled, success, error, and disabled, each demonstrated side-by-side in a state grid.
-
Validation feedback — Real-time per-field validation (email regex, URL, phone, username rules, password rules) with color + icon + message, and submit-time required-field checks with focus-to-first-error behavior.
-
Character counts — Live counter that turns amber at 80% and red at the limit, with an aria-live region.
-
Password strength — Segmented 5-bar strength meter with label that updates as you type, plus a show/hide password toggle.
-
Accessible patterns — htmlFor label binding, aria-invalid, aria-describedby, role="alert" for errors, role="status" for success, visible 4px focus rings, and a "form is ready" aria-live hint near the submit button.
-
Live signup form — Combines all features end-to-end with submit, reset, and a success toast.