
Fallback — Free Empty & Error State UI Kit
An error message is useful only when the next action is clear. Fallback connects five common failure states to working local recovery paths. Try a search that returns nothing, save a note while the demo is offline, retry an attachment or review a permission boundary. Each example explains what remains safe and gives the user a specific next step. These examples extend the existing table states, upload components and alerts into complete interactions. The source is deliberately small enough to adapt to your application; a production API must supply the actual network, upload and authorization behavior.

Key features
- No-results library search with clear action and focus restoration
- Offline switch with preserved draft and explicit save retry
- Attachment selection with PDF/text extension and 2 MB checks
- Deliberate first-attempt failure with retry and remove controls
- File contents never read or uploaded by the demo
- Permission-denied state and one local access request
- Administrator preview with fictional report download
- Failed-request simulation that preserves the report description
- Local draft persistence, live messages and light/dark themes
Best for
- Developers building application interfaces
- Designers prototyping real user workflows
- Teams creating reusable UI patterns
At a glance
- Bootstrap 5.3.8 and vanilla JavaScript; no jQuery
- 1 pages: index.html
- Browser-local demo records; no backend, authentication or server writes
- Responsive layouts, keyboard controls, light and dark modes
- Free for personal and commercial use; attribution optional but welcome. Full terms: uicookies.com/license
How to use it
Unzip fallback and open index.html in a browser. Edit the HTML copy, the demo arrays in js/main.js and the palette in css/style.css. The supplied Bootstrap files are self-hosted, so there is no build step or external script dependency. Changes are stored only in this browser; connect your own authenticated API before using real records. Deploy the folder to any static host.
Frequently asked questions
Is Fallback free for commercial use?
Yes. Free for personal and commercial use, including client work. Attribution is optional but always welcome. Full terms: uicookies.com/license
What does the download include?
1 HTML pages (index.html), Bootstrap 5.3.8, one design stylesheet and one vanilla JavaScript file. No npm installation or build command is required.
Does it connect to a backend?
No. All people and records are fictional, and changes are saved in localStorage in this browser only. No emails, payments or real bookings are sent. Replace the data and persistence helpers with your own authenticated API for production.
How do I customize the template?
Change colors and typography using the custom properties at the top of css/style.css. Edit content in the HTML pages and the initial data arrays in js/main.js. Reset demo clears only this template’s saved demo records.
Is this a production backend?
No. The download contains front-end source and fictional browser-local records. Connect your own authenticated API and validate operations on your server before using real data.





