Day 082 / UI / Accessibility

Empty State Gallery

View source ↗Scroll to explore ↓
Empty State Gallery project cover
/ Overview

Explore first-use, no-results and simulated error states with clear recovery actions in a local browser gallery.

NameEmpty State Gallery

ClientIndependent daily build

IndustriesInterface design

DateDay 082 · December 1, 2026

/ Challenge

An empty interface can mean several different things. Users need to understand whether they have no items, no matching results or a temporary failure before choosing a useful next action.

/ Provided services

Clear thinking.
Practical delivery.

01

Explain the state

Separate first use, search mismatch and simulated errors instead of reusing one vague message.

02

Offer a useful action

Each state provides a matching recovery button and preserves existing samples when retrying.

03

Keep feedback available

Semantic headings, labels, visible focus and a status message expose the current state.

Empty State Gallery feature visual
/ Solution

A dependency-free browser gallery models three explicit states. Add sample creates synthetic in-memory items; clear search restores matching results; retry dismisses a simulated error without losing samples. Native buttons and a labeled search field support interaction, a polite status announces state changes, and recovery returns focus to search. No network requests or persistent storage are used.

/ Impact

Five passing logic tests

Three distinct empty-state examples

Explicit recovery actions

Synthetic in-memory samples

/ Tech stack

Browser standards

HTML, responsive CSS and JavaScript modules run with a static server.

Node tests

Five tests cover state precedence, filtering and preservation of the input list.

Next project

Command Palette UI

View case study ↗