Status and feedback
Elements that tell people what is going on: confirmations, alerts, loading and progress indicators, badges and empty states.
14 elements in this category, each with a live preview and its name in English, Arabic and code.
role="status" aria-live="polite"Toast (Snackbar)
A brief message that confirms an action, then disappears on its own without blocking the screen.
aria-label="3 unread"Badge
A small dot or count on the corner of an icon showing unread items.
aria-busy="true"Skeleton Screen
Gray shimmering shapes that hold the place of content while it loads.
role="progressbar" (no value)Spinner (Indeterminate Progress)
A spinning circle that means "wait" without saying how long.
<progress value max>Progress Bar
A bar that fills from start to end to show how much work is complete.
<section> (pattern)Empty State
What appears when there is no content yet: an illustration, one line, and a button to start.
role="alert"Alert (Banner)
A colored box inside the page that says something important and stays put, unlike a toast.
aria-label="Online"Status Dot (Presence Indicator)
The tiny colored circle on an avatar saying online, busy or away.
<svg> + stroke-dasharray / role="progressbar"Progress Ring (Circular Progress)
A circle that fills to a percentage with the number in the middle, like project completion.
404.html + correct HTTP statusError Page (404)
The page shown when a link is wrong or removed, pointing you somewhere useful.
<meter value min max low high>Meter (Gauge)
A bar or dial showing a value within a known range, like storage used or password strength.
<span> + textStatus Badge (Status Pill)
A colored pill showing the state of something: Paid, Pending, Overdue.
aria-live="polite" (…is typing)Typing Indicator
Three bouncing dots in a bubble meaning the other person is typing.
aria-invalid + aria-describedbyInline Validation
A green check or red message beside a field as you fill it, before you submit.