Did you know?dyk.si

Did you know what it’s called?

Describe the element in your own words, however rough: “the red number on the icon”, “the dot I drag”. Get its real name, its name in code, and a ready prompt for your coding agent.

All elements

<dialog> + showModal()

Modal Dialog

A window centered over the page that blocks everything behind it until you respond.

<dialog> + CSS transform

Bottom Sheet

A panel that slides up from the bottom edge with options or details; drag it down to dismiss.

::backdrop

Scrim (Backdrop)

The translucent layer that dims the page behind a modal or drawer.

role="tooltip" + aria-describedby

Tooltip

A small text label that appears on hover or long-press to explain what an icon does.

popover attribute

Popover

An anchored bubble with interactive content such as filters or settings; stays open until dismissed.

<button aria-haspopup="menu">

Overflow Menu (Kebab / Meatballs)

A three-dot button that opens extra actions. Vertical dots are a "kebab", horizontal ones are "meatballs".

oncontextmenu + role="menu"

Context Menu

The menu that opens at the pointer when you right-click or long-press an item.

role="combobox" + role="listbox"

Command Palette

A search box opened with ⌘K or Ctrl+K that reaches any command or page from the keyboard.

<dialog> + <img>

Lightbox

Click an image and it enlarges over a dimmed page, with arrows to move between photos.

popover + :hover/:focus

Hover Card

A small card that appears when you hover a name or link, previewing the person or page.

<aside> + transform

Side Sheet (Detail Drawer)

A panel that slides in from the side with details or an edit form while the page stays visible.

<dialog> (custom)

Action Sheet

An iOS-style list of choices that rises from the bottom with a separate Cancel button.

role="dialog" aria-label="Cookies"

Cookie Consent Banner

The bar at the bottom of a site asking whether you accept cookies.

popover + spotlight overlay

Coach Mark (Product Tour)

A callout pointing at one control while the rest dims, introducing a feature step by step.

<button aria-haspopup="menu" aria-expanded>

Dropdown Menu (Menu Button)

A button with a small arrow that drops down a list of actions.

Notification API + Service Worker

Push Notification

A system alert that drops in at the top of the screen from an app, even when it’s closed.

aria-expanded + aria-controls

Hamburger Menu (Navigation Drawer)

The three-line button and the side navigation panel it slides open.

role="tablist" / "tab" / "tabpanel"

Tabs

A row of labels that switches one shared content area between views.

<nav> + position: fixed

Bottom Navigation (Tab Bar)

A row of three to five icons pinned to the bottom of an app that switches its main sections.

<nav aria-label="Breadcrumb"> + <ol>

Breadcrumbs

A trail of links showing where you are, from home down to the current page.

aria-roledescription="carousel"

Page Control (Dots Indicator)

Small dots under a carousel; each is a page and the filled one is current.

<button> + position: fixed

Floating Action Button (FAB)

A round button floating in the corner for the screen’s primary action, like add or compose.

aria-current="step"

Steps (Progress Stepper)

Numbered circles across the top, one per stage of a long flow like checkout.

position: sticky; top: 0

Sticky Header

The top bar that stays visible while you scroll down the page.

<nav aria-label="pagination">

Pagination

Numbered buttons under a list that move between pages of results.

<header> + <h1>

Top App Bar (Navigation Bar)

The bar across the top of an app screen with the title, back button and quick actions.

<nav> + <aside>

Sidebar (Side Navigation)

A persistent column along one side listing the app’s sections, always visible on large screens.

<nav> (vertical)

Navigation Rail

A slim vertical strip of section icons along the side, for tablets and medium screens.

<nav> + disclosure buttons

Mega Menu

A wide panel dropping from the header with several columns of links, as on big store sites.

<a href="#top">

Back-to-Top Button

A small corner button that appears after scrolling far, taking you back to the top.

IntersectionObserver + aria-current

Scrollspy (On This Page)

An On-this-page list whose highlighted link follows the section you’re reading.

<a href="#main" class="skip">

Skip Link

A hidden link that appears on the first Tab press and jumps straight to the main content.

IntersectionObserver sentinel

Infinite Scroll

More content loads automatically as you reach the bottom, with no pages or buttons.

<button> + aria-live

Load More Button

A button under a list that fetches the next batch of results when pressed.

<input type="search"> + role="search"

Search Bar (Search Field)

A field with a magnifier icon where you type to find something in the site or app.

<footer>

Footer

The last band at the bottom of every page with key links, copyright and contact details.

role="radiogroup"

Segmented Control (Toggle Group)

A connected row of buttons where exactly one option is selected.

<input type="checkbox" role="switch">

Switch (Toggle)

A sliding control that turns a setting on or off immediately.

<input type="checkbox">

Checkbox

A small box you tick; each option is independent, so you can select several.

<input type="radio" name="…">

Radio Button

Small circles in a group where only one can be chosen.

<input type="range">

Slider

A track with a knob — the thumb — that you drag to pick a value from a range.

<input type="number">

Stepper (Number Input)

Minus and plus buttons around a number that change it one step at a time.

<button aria-pressed>

Chip (Tag / Pill)

A small capsule holding a word — a filter, choice, or entered value — often removable with an ×.

placeholder="…"

Placeholder Text

The gray hint inside an input that disappears as soon as you type.

role="combobox" + <datalist>

Combobox (Autocomplete)

A text field with a list of suggestions that filters as you type.

:focus-visible

Focus Ring

The colored outline around a control when you reach it with the keyboard.

<select> + <option>

Select (Dropdown)

A field that drops open a list of options; pick one and it closes.

<input type="date">

Date Picker

A small calendar that opens from a date field so you can pick a day or a range.

<label for> + <input> + aria-describedby

Form Field

A complete input with all its parts: label, field, helper text and the red error line.

<textarea> + resize: vertical

Textarea (Resize Handle)

A multi-line text box, often with three diagonal lines in the corner you drag to enlarge it.

<input type="password"> + toggle button

Password Visibility Toggle

The eye icon inside a password field that reveals the characters instead of dots.

<input autocomplete="one-time-code" inputmode="numeric">

OTP Input (Verification Code)

A row of small boxes, one digit each, for the code you received by SMS or email.

<input type="file"> + drop events

File Upload (Dropzone)

A dashed area where you drop files or click to choose them from your device.

role="radiogroup" + <input type="color">

Color Swatch Picker

Small colored circles or squares to choose from; the chosen one gets a ring.

role="radiogroup" (5 radios)

Star Rating

Five stars you tap to give a score, or that show an average rating.

two <input type="range">

Range Slider (Dual Thumb)

A track with two thumbs that set a minimum and maximum, like a price range.

<input type="time">

Time Picker

A field or clock face for choosing hours and minutes.

<input> + list of <button>s

Tag Input (Token Field)

A field where each word you type turns into a small removable capsule.

<input type="tel" autocomplete="tel">

Phone Number Input

A phone field with a small country flag and dial-code picker before the number.

contenteditable / swap to <input>

Inline Edit (Click to Edit)

Plain text that turns into an input when clicked, so you edit and save in place.

role="toolbar" + contenteditable

Rich Text Toolbar

The strip above an editor with bold, italic, lists and link buttons.

<select> (native on iOS)

Picker Wheel

A spinning column of values like a drum; the middle row is selected. Common on iPhone.

:placeholder-shown + CSS transform

Floating Label

The label sits inside the field, then shrinks and floats up when you start typing.

<button> + <button aria-haspopup="menu">

Split Button

A two-part button: the main side runs the default action, the arrow opens related ones.

<button aria-label="…">

Icon Button

A button showing only an icon with no text, like heart, share or delete.

<button class="primary|secondary|ghost">

Button Variants (Primary, Secondary, Ghost)

Buttons ranked by importance: filled primary, outlined secondary, ghost, and link.

<button aria-busy="true" disabled>

Loading Button

A button that shows a spinner after you press it, so it can’t be pressed twice.

draggable + drop events / Pointer events

Drag and Drop

You grab an item and move it elsewhere, with grip dots and a shadow showing where it lands.

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 status

Error 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> + text

Status 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-describedby

Inline Validation

A green check or red message beside a field as you fill it, before you submit.

<details> + <summary>

Accordion (Disclosure)

Stacked headings that expand and collapse their content — the classic FAQ pattern.

role="group" aria-label="…"

Avatar Group (Avatar Stack)

Overlapping profile circles with a "+N" for everyone else.

text-overflow: ellipsis / line-clamp

Truncation (Ellipsis)

When text is longer than its space, it gets cut and ends with "…".

<article>

Card

A rectangle grouping an image, title, text and actions about one thing, like a product or article.

<ol> + CSS

Timeline

A vertical line of dots, each with a dated event beside it, in the order things happened.

<hr> / role="separator"

Divider (Separator)

A thin line that separates sections or groups of controls.

<table> + <th aria-sort>

Data Table

Rows and columns of records; click a column header to sort.

<li> + <a>

List Item (Row)

A row with a leading icon or avatar, a title and subtitle, and a trailing chevron or control.

<img alt> + initials fallback

Avatar

A circle with a person’s photo, falling back to their initials when there is none.

<li> in role="log"

Chat Bubble (Message Bubble)

The rounded shape around each message: yours on one side, theirs on the other.

<dl> / <figure>

Stat Card (KPI Card)

A box with a big number, a small label and a change indicator, like revenue this month.

role="tree" + role="treeitem"

Tree View

An indented list where items expand to reveal their children, like file folders.

role="list" columns + drag and drop

Kanban Board

Columns like To do, In progress, Done, with task cards moving between them.

<pre><code>

Code Block

A dark box with monospaced code, syntax colors and a copy button in the corner.

<kbd>

Keyboard Key (kbd)

A small key-shaped box around a key name like Ctrl or ⌘ in instructions and shortcuts.

<blockquote> + <cite>

Pull Quote (Blockquote)

A key line from an article set large and distinct to catch the eye mid-text.

<dl> + <dt> + <dd>

Description List (Key-Value)

Label-value pairs stacked in rows, like order details or product specs.

<svg> polyline

Sparkline

A tiny chart with no axes that shows a trend at a glance next to a number.

<section> of <article>s

Pricing Table

Side-by-side plan columns, each with a price and features, with the recommended one highlighted.

<mark>

Highlight (Mark)

A soft yellow background on certain words, like the search term inside results.

<section> + <h1>

Hero Section

The first big band of a page with the main headline, a short pitch and the key button.

display: grid + grid-column: span 2

Bento Grid

One grid with tiles of mixed sizes packed together like a Japanese bento box.

columns: 3 / grid-template-rows: masonry

Masonry Layout

Cards of different heights packed into columns with no row gaps, like Pinterest.

display: grid; grid-template-columns: 1fr 1fr

Split Screen

A page divided in two halves: an image or message on one side, a form or content on the other.

role="separator" aria-valuenow + pointer events

Resizable Panes (Split View)

Two or more panels side by side with a divider you drag to resize them.

env(safe-area-inset-top) + viewport-fit=cover

Safe Area (Insets)

The space you keep clear of the notch, status bar and home indicator on phones.

@media (min-width: …) / @container

Responsive Breakpoints

The widths at which a layout changes shape: phone, tablet, desktop.

animation-timeline: scroll() / transform

Parallax Scrolling

Layers that scroll at different speeds; the background lags behind and depth appears.

@keyframes translateX + duplicated content

Marquee (Ticker)

Content that scrolls sideways on its own in an endless loop, like client logos or breaking news.

aria-roledescription="carousel" + scroll-snap

Carousel (Slider)

A strip of slides you page through with arrows, dots or swipes.

transition-timing-function / cubic-bezier()

Easing (Timing Function)

How an animation’s speed changes over time; it makes motion feel natural or robotic.

linear() easing / Web Animations

Spring Animation

Physics-based motion where an element overshoots its target slightly and settles, like a spring.

@keyframes width + steps()

Typewriter Effect

Text appears letter by letter as if being typed, with a blinking cursor at the end.

::after + @keyframes scale

Ripple Effect

A circle that spreads from where you tap a button, like a wave on water. A Material Design signature.

IntersectionObserver / animation-timeline: view()

Scroll Reveal

Elements fade and slide in as you scroll them into view.

requestAnimationFrame / @property counter

Count-up Number

A number that counts quickly from zero to its value to highlight a statistic.

overscroll + touch events (custom)

Pull to Refresh

Pull a list down from the top, a spinner appears, and the content refreshes.

pointer events + transform (custom)

Swipe Actions

Swipe a list row sideways to reveal buttons like delete or archive behind it.

Categories

Commonly confused elements

Similar looks, different names, different jobs.

Modal vs. Drawer vs. Bottom SheetAll three sit above the page and dim what’s behind. They differ by placement and task size.Switch vs. Checkbox vs. RadioAll three make choices, but each answers a different question.Spinner vs. Skeleton vs. Progress BarAll three say "wait", but each tells you something different.Tooltip vs. Popover vs. MenuAll three are bubbles anchored to a button; they differ in what they hold and how they close.Context Menu vs. Dropdown vs. Overflow MenuAll three are menus of actions; they differ in what opens them.Toast vs. Alert vs. Push NotificationAll three tell the user something; they differ in where they appear and how long they stay.Accordion vs. Tabs vs. StepsAll three cut one page into parts, and they differ in what the user is allowed to do: open and close freely, switch between equals, or move forward through a fixed order.Badge vs. Status Badge vs. Status DotAll three are small colored marks that carry state; they differ in what they sit on and whether they hold a number, a word or only a color.Button Variants vs. Icon Button vs. FABAll three are buttons that run one action; they differ in how much visual weight they carry, whether they show words or a glyph, and whether they sit in the content or float above it.Card vs. List Item vs. Data TableAll three present a set of similar items. They differ in what the user does with the set: look at one, move through many to open one, or compare one field across all of them.Date Picker vs. Time Picker vs. Picker WheelAll three turn up when you need a date or a time, but two of them define what you are choosing and the third defines how you choose it.Dropdown Menu vs. Select vs. ComboboxAll three open a list under a button or a field; they differ by what happens after the click: an action runs, a value is stored, or a search narrows.Empty State vs. Skeleton vs. Error Page (404)All three are screens with no content on them; they differ by why there is nothing to show.Modal vs. Side Sheet vs. Action SheetAll three open a layer above the page, but each answers a different question: a decision, details, or which action?Pagination vs. Load More vs. Infinite ScrollAll three bring the next batch of a long list to the screen. They differ in who triggers the load and whether a spot in the list can be addressed.Search Bar vs. Combobox vs. Command PaletteAll three start as a text field with a list under it; they differ by what Enter gives you: content, a stored value, or an action.Sidebar vs. Navigation Rail vs. Navigation DrawerAll three list the app’s sections along one edge and differ only in how much room they take and whether they stay open.Tabs vs. Segmented Control vs. Bottom NavigationAll three are rows of choices with one highlighted; they differ in how much of the screen they switch.

Compose a whole page, not one element

Drag the sections into place, pick one of fifteen visual styles, and see the page before you copy anything. You leave with a precise prompt for your coding agent, or a finished HTML file.

Open the builder

Why the name matters

Saying “add a ModalBottomSheet” instead of “add a thing that slides up” saves whole rounds of fixes.

Four platforms in one place

Every element has its name in HTML, React, Jetpack Compose and SwiftUI.

Arabic and English

Search in English or Arabic, formal or colloquial; every entry is written in both.