Back to the atlas UI pattern comparisons

Compare UI patterns that are easy to mix up

Two patterns can look alike but do different jobs. Use these short rules to pick the right one.

Popover vs. Tooltip

A tooltip gives a short hint. A popover can hold more text, choices, or buttons.

Use a tooltip when a few words are enough. Use a popover when a person must read or do more without leaving the page. Open guide
Modal vs. Popover

A modal stops the page until the task is done. A popover stays beside its button and lets the page keep working.

Use a modal for one task that must finish first. Use a popover for extra details or a small action. Open guide
Tabs vs. Segmented Control

Tabs switch between sections of content. A segmented control changes a small mode, filter, or value in the same view.

Use tabs for separate content sections. Use a segmented control for a few short choices that change the same content. Open guide
Accordion vs. Tabs

An accordion opens sections in a page and may keep several open. Tabs show one section at a time in one shared space.

Use an accordion for questions or sections people may read together. Use tabs for a few separate views when only one matters at a time. Open guide
Toast vs. Alert

A toast is a short message that does not stop the task. An alert stays or interrupts because it must not be missed.

Use a toast to confirm a finished action. Use an alert for a failure, danger, or choice that needs attention now. Open guide
Tooltip vs. Hover Card

A tooltip gives a short label or hint. A hover card shows a richer preview of a person, item, or link.

Use a tooltip when a few words are enough. Use a hover card when a preview can save a trip to another page. It must also work by keyboard and touch. Open guide
Carousel vs. Marquee

A carousel shows separate slides with controls. A marquee keeps a line of content moving.

Use a carousel when each item needs time and controls. Use a marquee only for unimportant decoration that can pause and stop moving when asked. Open guide
Lightbox vs. Modal

A lightbox is a modal made for pictures or video. A regular modal holds a choice, form, or short task.

Use a lightbox to enlarge pictures or video. Use a modal when the main job is to act or decide. Open guide
Masonry vs. Bento Grid

Masonry packs cards of different heights into columns. A bento grid uses planned card sizes to show what matters most.

Use masonry for many separate items with different heights. Use a bento grid for a small set whose size shows importance. Open guide
Sidebar vs. Drawer

A sidebar stays in the page layout. A drawer slides in for a short time and may cover or push the page.

Use a sidebar for tools or links people use often when there is room. Use a drawer for less common tasks or small screens, and make it easy to close. Open guide
Hamburger vs. Kebab

A three-line button opens navigation. A three-dot button opens more actions for a nearby item.

Use three lines for hidden navigation, mostly on small screens. Use three dots when extra item actions do not fit, and name the button “More actions.” Open guide
Easing vs. Spring

Easing follows a set timing curve. A spring moves like a real spring and stops on its own.

Use easing for fades, color changes, and timed steps. Use a spring for objects that move or follow a drag. Open guide
Stepper vs. Slider

A stepper changes a number by set steps. A slider chooses a place along a range.

Use a stepper for small, exact changes. Use a slider when rough position matters more than typing an exact number. Always show the value and support the keyboard. Open guide
Sheet vs. Alert (macOS)

A sheet belongs to one window and holds a short task. An alert shows a short message or choice that needs attention now.

Use a sheet for settings, saving, or a short form tied to one document. Use an alert for a warning, failure, or one-step check. Open guide
Toolbar vs. Menu Bar (macOS)

A toolbar puts common actions inside a window. The menu bar keeps the app's full set of commands at the top of the screen.

Put common document or selection actions in the toolbar. Keep all commands, keyboard shortcuts, and less common actions in the menu bar. Open guide