Visual UI Glossary

You can picture the element but don’t know its name? This glossary shows each one, names it, and teaches you how to ask an AI for it in your own words.

B

Written by Bady Ammar

AI Agent Enthusiast · Head of Product

Visual UI Glossary

Try the elements yourself — they’re all interactive. Click, hover, and toggle to see how each behaves.

Buttons & Actions

Ready to start?

Join the program today.

Primary Button

The most prominent button, filled with a solid color, reserved for the single most important action — like “Start” or “Subscribe”. Best kept to one per area so it stays clear.

Describe it to an AI like this:

“Make the “Get started” button a bold, filled primary button.”

Hands-on program

Join the program today.

Secondary Button

A button less prominent than the primary, usually outlined with no fill, for an alternative or secondary action shown beside the primary — like “Learn more”.

Describe it to an AI like this:

“Put a “Learn more” secondary (outlined) button next to the primary one.”

Delete item?

This action can’t be undone.

Ghost Button

A button with no background or border — just clickable text — for the lowest-priority actions like cancel or skip, so it doesn’t compete with the bolder buttons.

Describe it to an AI like this:

“Use a borderless ghost button for the “Cancel” action.”

Icon Button

A small button carrying only an icon and no text, saving space for frequent actions — like like, share, or delete.

Describe it to an AI like this:

“Add a heart icon button to like.”

Floating Action Button

A prominent round button that floats above the content in a corner, reserved for the page’s primary action — like “Add” or “New chat”.

Describe it to an AI like this:

“Add a floating action button in the corner to create a new item.”

Segmented Control

A group of joined buttons in one frame where you pick one option that highlights instantly — like switching between “Monthly” and “Yearly”.

Describe it to an AI like this:

“Use a segmented control to switch between monthly and yearly billing.”

Quantity
2

Stepper

A number field with + and − buttons to increase or decrease the value step by step — like setting item quantity in a cart.

Describe it to an AI like this:

“Add a stepper with + and − buttons to set the quantity.”

Forms & Inputs

Text Field

A box where you type a short piece of text like a name or email. Usually has a label above it, and its border changes when focused so you know it’s active.

Describe it to an AI like this:

“Add a text field for the name with a label above it.”

Textarea

A large multi-line input for longer text — like a message or comment — often with a corner handle to resize it.

Describe it to an AI like this:

“Add a textarea for the message.”

Email

Placeholder

Faint gray text inside an input field that hints what to type (“Enter your email”) and disappears as soon as you start typing.

Describe it to an AI like this:

“Put a placeholder in the email field saying “Enter your email”.”

Checkbox

A small box you tick to agree or select an item. Unlike radio buttons, you can check more than one in the same list.

Describe it to an AI like this:

“Put a checkbox next to each option so the user can pick more than one.”

Radio Buttons

Small circles where you pick exactly one option; choosing one clears the previous — like selecting a payment method.

Describe it to an AI like this:

“Use radio buttons to choose the payment method — only one at a time.”

Dark mode

Toggle

A small switch that slides between two states: on and off. Used for options that are either enabled or not — like turning on notifications or dark mode.

Describe it to an AI like this:

“Add a toggle to turn on dark mode.”

Price range 500 ﷼

Slider

A handle you drag along a track to pick a value within a range — like setting a price or volume.

Describe it to an AI like this:

“Add a slider to choose the price range by dragging.”

June

Date Picker

A field that opens a small calendar when clicked, letting you pick a day instead of typing the date — avoiding format mistakes.

Describe it to an AI like this:

“Add a date picker to choose the date from a calendar.”

Drag an image here or click to choose

PNG or JPG up to 5MB

File Upload

A dashed-border area where you drag a file in or click to pick one from your device to upload — like an image or a résumé.

Describe it to an AI like this:

“Add a file upload area where you can drag an image in or click to pick one.”

Navigation

Hamburger Menu

A three-horizontal-line icon, usually at the top on mobile. Tapping it opens the hidden navigation menu to save space.

Describe it to an AI like this:

“Add a three-line hamburger button on mobile that opens the nav menu when tapped.”

Tabs

A row of clickable headings that splits content into sections, showing one section at a time — like “Overview” and “Reviews” tabs on a product page.

Describe it to an AI like this:

“Split the page into tabs: Details, Reviews, Questions.”

Cart
2 Address
3 Payment

Steps

A numbered row that splits a long process (like signup or checkout) into steps, highlighting your current step and what you’ve completed so you know how far is left.

Describe it to an AI like this:

“Add a steps indicator showing the checkout stages: cart, address, payment.”

Overlays & Menus

Filters
Free Live Self-paced

Drawer

A panel that slides in from the side to show navigation or filters, covering part of the page until you close it.

Describe it to an AI like this:

“Open a drawer from the side showing the filter list.”

Your points
240

You earn points for each lesson you finish, unlocking badges.

To next badge 240 / 300

Popover

A small card that appears next to a button on click to show extra content or options, closing when you click outside — bigger and more interactive than a tooltip.

Describe it to an AI like this:

“Show a popover next to the button with extra details.”

Context Menu

A small list of actions that appears from a “⋯” button or a right-click, showing options for a specific item — like edit, delete, or share.

Describe it to an AI like this:

“Add a context menu on a ⋯ button with: edit, share, delete.”

Account settings

Tooltip

A small bubble with a short hint that appears when you hover over an element or icon, explaining its function without cluttering the interface.

Describe it to an AI like this:

“Show a small tooltip explaining the icon on hover.”

Content & Display

Hands-on program

(128)
499 ﷼ Enroll

Card

A bordered box with a light shadow that groups related content (image, title, text, button) into one unit set apart from its surroundings — like a product or article card.

Describe it to an AI like this:

“Show the products as cards, each with an image, title, price, and button.”

Program Status
Zero to Shipped Active
Hands-on program Completed

Table

Rows and columns showing organized data (like a list of orders or users) so it’s easy to scan and compare, usually with a header row naming the columns.

Describe it to an AI like this:

“Show the orders in a table with columns: program and status.”

A
M

Avatar

A small round image representing the user — their photo or the first letter of their name — shown next to their name or at the top of the dashboard.

Describe it to an AI like this:

“Put a round avatar of the user next to their name.”

New

Badge

A small colored label carrying a word or number to highlight a status or count — like “New”, or the notification number above the bell icon.

Describe it to an AI like this:

“Put a “New” badge on recently added products.”

AI Coding Design

Chip

A small pill representing a choice, label, or filter, often with an ✕ to remove it — like interest tags or applied filters.

Describe it to an AI like this:

“Show the selected filters as removable chips.”

What’s the refund policy?

Accordion

A list of headings where each expands on click to reveal its content, then collapses. Ideal for FAQs — the page stays tidy and shows the answer on demand.

Describe it to an AI like this:

“Show the FAQ as an accordion that reveals the answer when a question is clicked.”

Rate the program

Star Rating

A row of stars you click to give a 1-to-5 rating, or that displays a product’s average score.

Describe it to an AI like this:

“Add a five-star rating to review the program.”

or

Divider

A thin line separating content sections to rest the eye and show where one section ends and another begins, sometimes with a word in the middle like “or”.

Describe it to an AI like this:

“Add a divider with “or” in the middle separating the sign-in options.”

Nothing here yet

Start by adding your first item.

Empty State

A friendly message with an icon shown where an empty list would be (no results, no orders yet), explaining why and suggesting a next step instead of leaving the screen blank and confusing.

Describe it to an AI like this:

“Show an empty state when there are no results, with an “Add your first item” button.”

Feedback & Loading

Changes saved

Toast

A small message that pops up briefly in a corner to confirm something happened (“Saved”) then disappears on its own without interrupting you.

Describe it to an AI like this:

“Show a toast saying “Saved” that disappears after two seconds.”

Offer ends in 24 hours

Banner

A wide colored bar at the top of the content with an important message or warning, staying until you read or dismiss it — unlike a toast that vanishes on its own.

Describe it to an AI like this:

“Show an alert banner at the top warning the offer ends soon.”

Uploading

Progress Bar

A bar that fills up gradually to show how far along a task is — like a file upload or your course-completion percentage.

Describe it to an AI like this:

“Show a progress bar that fills as the file uploads.”

Loading

Spinner

A small circle that keeps spinning to tell you the system is working and waiting for a short task to finish — like loading or saving.

Describe it to an AI like this:

“Show a spinner while the data loads.”

Skeleton Loader

Faint gray shapes that mimic where content will appear before it loads, reassuring the user the page is loading rather than looking empty or stuck.

Describe it to an AI like this:

“Show a gray skeleton where the cards will be while the data loads.”

Visual Polish

16px

Rounded Corners

Softening the corners of elements (buttons, cards, images) instead of leaving them sharp, making the interface feel gentler and friendlier. Measured by radius, from slight to fully circular.

Describe it to an AI like this:

“Give the buttons and cards medium rounded corners.”

Shadow

A soft shadow under an element that suggests it’s raised above the page, making it feel closer and more prominent. The larger the shadow, the higher it appears — like cards and popovers.

Describe it to an AI like this:

“Add a soft shadow under the card so it looks raised.”

Learn to code and ship your own product

These elements are just the start. In “Zero to Shipped” you learn to build and launch a real software product with AI — step by step.

Start Zero to Shipped
Have a question?