A switch you can watch
The form blurs out, both corner tabs light up and travel to the centre, merge into one glowing tile, ripple outward, then settle back as the next form fades in line by line.
Component 056Forms
A frosted-glass sign-in and sign-up card with chamfered corners. Switching forms melts the content away, slides the two corner tabs together, sends out a ripple, and reveals the new form.
Quick start
Save glassy-login-v3.tsx in your components folder, then import it below. Use it in a Next.js project with Tailwind CSS.
import GlassyLoginV3 from "@/components/ui/glassy-login-v3";
export default function LoginPage() {
return (
<GlassyLoginV3
onSignIn={async ({ email, password, remember }) => {
await signIn(email, password, remember);
}}
onSignUp={async ({ name, email, password }) => {
await createAccount(name, email, password);
}}
onSocialSignIn={(provider) => startOAuth(provider)}
/>
);
}
// Reject from a callback to show its message under the title.
// Omit the callbacks to try the local demo.Behind the interaction
The form blurs out, both corner tabs light up and travel to the centre, merge into one glowing tile, ripple outward, then settle back as the next form fades in line by line.
Backdrop blur is clipped to a chamfered outline with rounded joins, a gradient edge, and separate glass tabs in the cut corners. The chrome-and-neon scene behind it is drawn in SVG.
Labelled inputs, password reveal, inline validation under the title, busy and success states, provider buttons, and focus that lands on the new heading. Plus Jakarta Sans is bundled with the export.
Keep exploring