About this set
A lock screen for a known account that has been idle, the kind shown by admin panels and internal tools after a timeout. On a dark radial-gradient background it shows a gradient avatar with initials, the person’s name and email, and a pill saying the session locked after 15 minutes idle. Below sit a labelled password field with a square arrow button that submits, and two links: use a passkey, or sign in as someone else. Use it when you know who was signed in and only need them to confirm with their password. A hidden username input carries the email, so password managers pick the matching saved password instead of offering every account. The layout is a single centred column with no card, which keeps it readable on small phones. In Bootstrap the page uses the dark colour mode with .form-control and .btn restyled through their variables; the Tailwind version uses the white opacity utilities and a small theme.
What’s included
- Avatar, name, email and idle notice for a known account
- Hidden username field so password managers fill the right password
- Password field with an icon-only submit button named Unlock
- Field border raised to 42% white so the edge reaches 3:1
- Passkey and switch-account links
Accessibility
The password field has a visible Password label (the original relied on the placeholder), and the arrow button is named Unlock. Focus shows a light indigo ring on the field and a 2px outline on the button and links, visible against the dark background. Transitions are removed under prefers-reduced-motion.
Customise it
Change --lf-accent, --lf-soft and --lf-dim on .lf (plain CSS and Bootstrap) or the --color-accent, --color-soft and --color-dim theme values (Tailwind). The background is the radial-gradient on .lf or the bg-[radial-gradient(...)] utility.




















