← All UI screens

Login error screen examples

Sign-in fails more often than it succeeds on the first try, so the error states deserve design. These examples re-render the real sign-in and two-factor screens with their failure states: a wrong password with the attempts left, a temporarily locked account with a reset path, and an expired two-factor code with a resend action, each with an alert and the field at fault marked. Every example is an original design that comes with its HTML code and a DESIGN.md of colour, type and spacing tokens, in light and dark. Free to use and adapt.

DeviceAllWebMobile
StyleAllMinimalEditorialBrutalistLuxuryPlayfulCorporateRetroMonochrome
Theme

48 examples

Sign-in error: account locked — web, minimal (Fernway)
Web · Account locked · minimal
Sign-in error: wrong password — web, minimal (Fernway)
Web · Wrong password · minimal
Two-factor error: code expired — web, minimal (Fernway)
Web · Code expired · minimal
Sign-in error: account locked — web, editorial (Fernway)
Web · Account locked · editorial
Sign-in error: wrong password — web, editorial (Fernway)
Web · Wrong password · editorial
Two-factor error: code expired — web, editorial (Fernway)
Web · Code expired · editorial
Sign-in error: account locked — web, brutalist (Fernway)
Web · Account locked · brutalist
Sign-in error: wrong password — web, brutalist (Fernway)
Web · Wrong password · brutalist
Two-factor error: code expired — web, brutalist (Fernway)
Web · Code expired · brutalist
Sign-in error: account locked — web, luxury (Fernway)
Web · Account locked · luxury
Sign-in error: wrong password — web, luxury (Fernway)
Web · Wrong password · luxury
Two-factor error: code expired — web, luxury (Fernway)
Web · Code expired · luxury
Sign-in error: account locked — web, playful (Fernway)
Web · Account locked · playful
Sign-in error: wrong password — web, playful (Fernway)
Web · Wrong password · playful
Two-factor error: code expired — web, playful (Fernway)
Web · Code expired · playful
Sign-in error: account locked — web, corporate (Fernway)
Web · Account locked · corporate
Sign-in error: wrong password — web, corporate (Fernway)
Web · Wrong password · corporate
Two-factor error: code expired — web, corporate (Fernway)
Web · Code expired · corporate
Sign-in error: account locked — web, retro (Fernway)
Web · Account locked · retro
Sign-in error: wrong password — web, retro (Fernway)
Web · Wrong password · retro
Two-factor error: code expired — web, retro (Fernway)
Web · Code expired · retro
Sign-in error: account locked — web, monochrome (Fernway)
Web · Account locked · monochrome
Sign-in error: wrong password — web, monochrome (Fernway)
Web · Wrong password · monochrome
Two-factor error: code expired — web, monochrome (Fernway)
Web · Code expired · monochrome
Sign-in error: account locked — mobile, minimal (Fernway)
Mobile · Account locked · minimal
Sign-in error: wrong password — mobile, minimal (Fernway)
Mobile · Wrong password · minimal
Two-factor error: code expired — mobile, minimal (Fernway)
Mobile · Code expired · minimal
Sign-in error: account locked — mobile, editorial (Fernway)
Mobile · Account locked · editorial
Sign-in error: wrong password — mobile, editorial (Fernway)
Mobile · Wrong password · editorial
Two-factor error: code expired — mobile, editorial (Fernway)
Mobile · Code expired · editorial
Sign-in error: account locked — mobile, brutalist (Fernway)
Mobile · Account locked · brutalist
Sign-in error: wrong password — mobile, brutalist (Fernway)
Mobile · Wrong password · brutalist
Two-factor error: code expired — mobile, brutalist (Fernway)
Mobile · Code expired · brutalist
Sign-in error: account locked — mobile, luxury (Fernway)
Mobile · Account locked · luxury
Sign-in error: wrong password — mobile, luxury (Fernway)
Mobile · Wrong password · luxury
Two-factor error: code expired — mobile, luxury (Fernway)
Mobile · Code expired · luxury
Sign-in error: account locked — mobile, playful (Fernway)
Mobile · Account locked · playful
Sign-in error: wrong password — mobile, playful (Fernway)
Mobile · Wrong password · playful
Two-factor error: code expired — mobile, playful (Fernway)
Mobile · Code expired · playful
Sign-in error: account locked — mobile, corporate (Fernway)
Mobile · Account locked · corporate
Sign-in error: wrong password — mobile, corporate (Fernway)
Mobile · Wrong password · corporate
Two-factor error: code expired — mobile, corporate (Fernway)
Mobile · Code expired · corporate
Sign-in error: account locked — mobile, retro (Fernway)
Mobile · Account locked · retro
Sign-in error: wrong password — mobile, retro (Fernway)
Mobile · Wrong password · retro
Two-factor error: code expired — mobile, retro (Fernway)
Mobile · Code expired · retro
Sign-in error: account locked — mobile, monochrome (Fernway)
Mobile · Account locked · monochrome
Sign-in error: wrong password — mobile, monochrome (Fernway)
Mobile · Wrong password · monochrome
Two-factor error: code expired — mobile, monochrome (Fernway)
Mobile · Code expired · monochrome

See it in a flow

Log in with two-factor · Reset a password

Sign-in error design tips

Questions

What should a wrong password error say?

Keep it short and actionable: the email or password is incorrect, how many attempts remain, and a link to reset the password.

Should I lock accounts after failed logins?

A short, time-based pause after several failures slows down guessing without locking people out for good. Tell them how long it lasts.

How do I show an expired two-factor code?

Explain that the code timed out, keep the input visible and offer to resend or use a backup code.

Browse by pattern

App screens

Dashboard
Data table
Analytics charts
Login
Sign up
Forgot password
Two-factor code
Welcome
Onboarding step
Permissions request
Home
Feed
List view
Detail view
Kanban board
Calendar
File manager
Search results
Editor toolbar
AI chat assistant
Chat list
Chat thread
Video call
Image viewer
Map view
Video player
Create post
Class schedule
Booking details
Booking confirmed
Product detail
Cart
Checkout
Order confirmation
Settings
Profile
Notifications center
Team members
Roles permissions
Audit log
API keys
Integrations
Billing plans
Invoice
Paywall upgrade
Cancel subscription
Empty state
404 error
Loading skeleton
Success confirmation
AI workspace
AI settings
Version history
Approval queue
Doctor directory
Telehealth visit
Clinic home
Music player
Playlist
Portfolio home
Case study
Security dashboard
Project tracker
Course dashboard
Multi-step form wizard
Bank onboarding
Product scan
Split view (master-detail)
Canvas editor
Floor plan
Voice call
Toast / snackbar with undo
Confirm dialog (destructive)
Side drawer
Command palette
Date range picker
Form validation errors
Sign-in error
Card declined at checkout
Find a pro (home services)
Book a home-service visit
Job tracker
Account email
Order email
Shift scheduler
Leave calendar
Time-off request
Multi-location operations dashboard
Inventory stock
Savings goal
Onboarding carousel

UI components

Tabs
Cards
Pagination
Popover
Tooltip
Dropdown menu
Accordion
Radio buttons
Breadcrumbs
Toggle switch
Stepper
Sidebar navigation
Loading spinner

Website sections

Hero
Navigation header
Feature grid
Bento features
How it works
Logo cloud
Stats band
Testimonials
Pricing
Comparison table
Scored comparison table
Integrations grid
Security and trust
FAQ
CTA banner
About team
Careers
Blog index
Changelog
Contact form
Footer

Website templates

Casual dining website templates
Agency website templates
Architecture website templates
Wedding website templates
Ecommerce website templates
Cafe and coffee shop website templates
Salon website templates
Real estate agency website templates
Construction website templates
Law firm website templates
Dental website templates
Gym website templates
School and education website templates
Nonprofit website templates
Travel website templates
Hotel website templates
SaaS landing page templates
AI website templates
Medical website templates
Cardiology website templates
Dermatology website templates
Therapist website templates
Physical therapy website templates
Veterinary website templates
Financial advisor website templates
Cleaning service website templates
HVAC website templates
Cybersecurity website templates
CRM landing page templates
Coaching website templates
Pest control website templates
Solar website templates
AI agent website templates
Preschool website templates
Apartment community website templates
Pediatric website templates
Orthodontics website templates
Fertility clinic website templates
Hospital website templates
Mental health clinic website templates
Optometry website templates
Pharmacy website templates
Real estate agent website templates
Property management website templates
Luxury real estate website templates
Commercial real estate website templates
Vacation rental website templates
Home builder website templates
Bakery website templates
Pizzeria website templates
Bar and pub website templates
Catering website templates
Food truck website templates
Fine dining website templates
Building with an AI coding agent? Every screen here is also in the free Made Good Designs MCP server: ask Claude, Cursor or ChatGPT to search_ui_screens (e.g. “billing settings, editorial style”), get_ui_flow for a whole journey, and get_ui_screen_code to pull the HTML and DESIGN.md straight into your project.

Save to board