156 pattern references

UI/UX guides

Find the pattern you mean, see it in action, and copy an implementation brief.

Layout

Masonry Layout

Masonry: Equal-width columns with varying card heights, flowing down like a waterfall—ideal for image walls and inspiration feeds.

Layout

Bento Grid

Bento: A grid of differently sized cards packed like a bento box—suited for product features and capability matrices.

Layout

Sticky Positioning

Sticky: An element that 'sticks' to the viewport edge after scrolling to a position—commonly used for nav bars, toolbars, and tables of contents.

Layout

Split Screen

Split: Screen split left-right: image on one side, copy on the other—standard for landing and login pages.

Layout

Responsive Layout

Responsive: One codebase adapting to mobile/tablet/desktop: media queries + flexible layout, reflowing naturally at breakpoints.

Navigation

Breadcrumb

Breadcrumb: Shows the current page's position in the hierarchy, each level clickable to go back—essential for deep sites.

Navigation

Tabs

Tabs: Switch between content groups within the same area—horizontal buttons + content region, no page reload on switch.

Navigation

Pagination

Pagination: Splits long lists into multiple pages, showing page numbers and per-page counts—avoids rendering thousands of items and freezing the page.

Navigation

Drawer

Drawer: A navigation panel sliding in from the screen edge—the standard solution for mobile hamburger menus, without occupying permanent space.

Navigation

Command Palette

Command: A global command palette invoked via ⌘K / Ctrl+K: search functions, jump pages—a staple of productivity tools.

Navigation

Dropdown Menu

Dropdown: Clicking a button pops up an action menu below—used for avatar menus and 'more' buttons.

Navigation

Mega Menu / Hover Dropdown

Mega menu: hover a nav item and a wide multi-column panel opens below with grouped links, images or featured picks. Add a small close delay so diagonal mouse movement doesn't dismiss it, and switch to tap-to-open on touch devices.

Navigation

Popover

Popover: Clicking an element pops up a small card nearby—holds details and actions, roomier than a Tooltip, lighter than a Modal.

Feedback

Toast

Toast: A small notice that auto-dismisses in seconds—suited for lightweight confirmations like 'Saved' or 'Copied,' without interrupting flow.

Feedback

Skeleton Screen

Skeleton: Gray blocks simulating content outlines before data arrives—more hopeful than a blank spinner.

Feedback

Empty State

Empty: A guide screen when a list has no data: explains why it's empty and what to do next—don't leave users staring at a blank slate.

Feedback

Modal

Modal: A dialog overlaid on the page that must be handled (confirm/cancel) before returning—used for important secondary confirmations.

Feedback

Popconfirm

Popconfirm: A small confirmation bubble anchored to the button—lighter than a modal, safer than direct action. For low-risk confirmations.

Feedback

Tooltip

Tooltip: A brief note floating on hover or focus—adds annotations to icon buttons and abbreviations without taking permanent space.

Feedback

Loading Button

Loading button: The button enters a loading state and disables on submit: spinner + 'Submitting'—prevents double-clicks and signals processing.

Feedback

Alert

Alert: A status banner at the top of the page or form: green for success, yellow for warning, red for error, with a close button.

Feedback

Progress Bar

Progress: A horizontal bar showing task progress, with percentage and striped animation—used for uploads, loads, and multi-step flows.

Feedback

Spinner

Spinner: The classic waiting indicator: spinning circle or bouncing dots—used while data loads.

Game FX

Screen Shake

Screen shake: A brief full-screen jitter—gives users 'physical feedback' on form errors or dangerous actions, bringing game-like impact to the web.

Forms

Switch / Toggle

Switch: A toggle-style on/off control—more intuitive than a checkbox, suited for enabling/disabling settings.

Forms

OTP Input

OTP: N independent boxes for entering a verification code, auto-advancing on fill and supporting paste of the full string—common for login/payment verification.

Forms

Autocomplete Search

Search box: Shows matching suggestions in a dropdown while typing—arrow keys to navigate, Enter to go—core to search experience.

Forms

Star Rating

Rating: Click stars to rate, hover to preview scores—standard for reviews and feedback.

Forms

Stepper / Counter

Stepper: Minus, number, plus in a row for adjusting quantities, with upper and lower limits—high-frequency in e-commerce and forms.

Content Display

Carousel

Carousel: A set of content switching horizontally: banners and albums use it—auto-play + manual swipe + indicator dots.

Content Display

Accordion

Accordion: Click a title to expand its content, often stacked in multiples—the standard solution for FAQs and settings groups.

Content Display

Timeline

Timeline: A vertical line with nodes showing events in time order: changelogs, project histories, and logistics tracking use it.

Content Display

Avatar Group

Avatars: A row of overlapping circular avatars, showing +N beyond the limit—commonly used for member lists and collaborator displays.

Content Display

Badge

Badge: A small red dot or number attached to the top-right of an icon/avatar—relies on it for unread messages and NEW labels.

Content Display

Pricing Table

Pricing: A three-tier price comparison table with the middle recommended tier highlighted and enlarged—standard for SaaS landing pages.

Content Display

Testimonial

Testimonial: A card with user avatar + star rating + quote—builds trust on landing pages.

Content Display

Stat Card

Stat card: A KPI card with a number and up/down arrow—laid out in a row on dashboard homepages.

Game FX

Countdown

Countdown flip tiles for days/hours/minutes/seconds—urgency fuel for flash sales, events, and launches.

Game FX

Confetti

Confetti raining down at the moment of success—used for signups, level-ups, and prize draws.

Content Display

Infinite Scroll

Infinite scroll appends content as you hit the bottom—standard for feeds and product lists, an alternative to pagination.

Content Display

Dark Mode

Dark mode toggles two palettes in one tap—follows system plus manual switch, one of the most-asked AI questions.

Motion

Fade Up on Scroll

Fade-up: elements rise and fade in as they enter the viewport—standard for landing pages and long articles, a key source of premium feel.

Motion

Typewriter

Typewriter reveals text character by character—loved by AI chats, hero titles, and game dialogs.

Motion

Count Up

Count-up rolls numbers from 0 to the target—data dashboards and achievement pages use it for that 'rising' thrill.

Motion

Parallax

Parallax scrolls foreground and background at different speeds—creates depth, common in game backdrops and landing heroes.

Motion

Hover Lift

Hover-lift: cards float up with deeper shadow on hover—the cheapest micro-interaction that still feels polished.

Game FX

Dialogue Box

Bottom dialog with typewriter text and a blinking continue arrow—great for onboarding and story-driven narration.

Visual Effects

Glassmorphism

Glass: translucent panel with background blur—same as iOS Control Center, fits modals, navs, and cards.

Visual Effects

Gradient Text

Gradient text: letters carry a slow-flowing color shift—a finishing touch for titles, numbers, and logos.

Visual Effects

Neon Glow

Neon: stacked text shadows build a glowing tube effect, paired with breathing flicker—perfect on dark backgrounds.

Visual Effects

Glitch

Glitch: RGB split with offset jitter—cyberpunk glitch style, common in gaming and streetwear titles.

Visual Effects

Marquee

Marquee: seamless horizontal scroll—used for brand walls, announcements, and skill tags.

Visual Effects

Shimmer Button

Shimmer button: a highlight sweeps across periodically—the click-bait trick for CTAs.

Visual Effects

Floating

Float: elements bob gently up and down—gives life to empty states and decorative objects.

Visual Effects

Blob

Blob: border-radius morphs into organic shapes—background decoration with a living feel.

Game FX

Particle Burst

Particles burst and dissipate on click—used for button feedback, celebrations, and win animations.

Game FX

Starfield

Starfield: multi-layer stars drift at different speeds—premium feel for login pages and hero sections.

Visual

Color Scheme

Color scheme: one interface uses only 3 colors—primary 60%, secondary surface 30%, accent 10%; buttons and key numbers use only primary.

Typography

Typography

Typography: fixed size ladder for title/body/caption (e.g., 32/16/13); mixed CJK-Latin uses system font stack for Latin, PingFang/Microsoft YaHei for Chinese.

Visual

Icon Style

Icon style: one style site-wide—linear icons with uniform 1.5px rounded-end strokes, or all filled; mixing looks messy.

Visual

Illustration

Illustration: pick one style for empty states, 404s, and onboarding—flat geometric, 3D clay, or hand-drawn lines; unDraw / Humaaans have free ready-made sets.

Visual

Image Treatment

Image treatment: unify all site imagery with one filter/color temperature; when AI-generating, fix style, lighting, and tone in the prompt.

Visual

Texture / Grain

Grain: flat colors feel plasticky—overlay fine noise or a blue-purple gradient grid for instant sophistication.

Visual

Brand Identity

Brand: logo whitespace no less than half the cap height; auto-switch to reversed version on dark backgrounds; mascot only in empty states and 404.

Navigation

Navbar

Navbar: logo left, links middle, one primary button right; add shadow or shrink on scroll.

Content Display

Card

Card: the basic info container—image + title + one-liner + one action, 12px radius, lifts on hover.

Forms

Login Form

Login: the first page every beginner builds—email + password + big button, third-party login below, don't forget 'remember me' and 'forgot password'.

Forms

Form Validation

Form validation: show red text under the field immediately on error—don't wait for submit; green check for valid fields.

Feedback

Steps

Steps: 1-2-3 at the top of multi-step flows—current highlighted, done gets a check, completed steps are clickable to go back.

Layout

Footer

Footer: bottom block with a few link columns plus a copyright line—don't cram links into one pile; collapse to accordion on mobile.

Feedback

404 Page

Not found: don't just say 404—big number + one human sentence + back-home button, add an illustration and sneak in a search box.

Navigation

Back to Top

Back to top: a small round button appears after scrolling down—click to smooth-scroll back up; don't show it on page load.

Motion

Fade In

Fade in: the most basic reveal—elements go from transparent to opaque. Soft and unobtrusive, ideal for hero titles and body text.

Motion

Slide In

Slide in: directional entrance—elements glide from top, bottom, left or right. The direction itself carries meaning.

Motion

Stagger

Stagger: multiple elements don't appear at once—they enter one after another at 60–120ms intervals. Instantly de-templated.

Motion

Blur Reveal

Blur reveal: from blurry to sharp, like a lens finding focus. Made for hero images—cinematic by default.

Motion

Line Reveal

Line reveal: headlines unveiled line by line, each wiped open like a mask lift. Short titles only—never body text.

Motion

Text Scramble

Text scramble: text appears as garbled characters, then decodes into place. Full hacker vibe—short words and numbers only.

Motion

Magnetic Button

Magnetic button: the button is gently pulled toward the cursor, springing back on leave. For the one primary CTA—everywhere cheapens it.

Motion

Custom Cursor

Custom cursor: a dot or ring trails the pointer and morphs over interactive elements. Portfolio darling—keep it accessible.

Motion

3D Tilt Card

3D tilt card: the card tilts subtly with mouse position for instant depth. Showcase cards love it—stay under 10 degrees.

Motion

Spotlight

Spotlight: the page dims except a circle around the cursor. Directs attention exactly where you want—pure atmosphere.

Motion

Easing Curves

Easing: the personality of motion. Linear feels robotic, ease-out crisp, spring playful. Wrong easing turns any animation into PowerPoint.

Motion

Reduced Motion

Reduced motion: honor the OS setting. When on, skip parallax and big animations—use fades or instant display. Accessibility, not optional.

Motion

Horizontal Scroll

Horizontal scroll: vertical scrolling turns horizontal for one section. Galleries and timelines love it—keep native swipe on mobile.

Motion

Scroll Zoom

Scroll zoom: images slowly scale as you scroll, creating a push-in feel. Hero visuals and case headers—keep it under 1.15x.

Motion

Scrollytelling

Scrollytelling: scrolling turns pages—text stays pinned while visuals change per step. Product stories and data features; don't overcrowd steps.

Motion

Hover Intent

Hover intent: only counts as a hover after ~200ms of dwell. Cures nav menus that pop open when the mouse just sweeps by.

Motion

Intro / Preloader Animation

Intro / preloader: a short branded sequence on page load—logo fades in, a counter ticks up, then a curtain lifts to reveal the page. Builds brand impression; keep it near 2 seconds and never block real content.

Motion

Mask / Clip-path Reveal

Mask / clip-path reveal: content is uncovered from a point or an edge by animating a clip-path—a circle from the click point, or a wipe from a side. Great for theme switches, page transitions and image reveals; the mask animates, not the content, so it stays smooth.

Motion

Dolly In

Dolly in: the camera pushes toward the subject, building presence. In AI video prompts, always specify start, end and speed.

Motion

Dolly Out

Dolly out: the camera pulls back to reveal the full scene. Made for endings and transitions—that “aha” reveal.

Motion

Pan

Pan: fixed position, lens sweeps left and right. Wide scenes and side-by-side comparisons—keep the speed even.

Motion

Orbit

Orbit: the camera circles the subject for a full 360° view. Product showcases—slower is classier.

Motion

FPV Flythrough

FPV flythrough: drone-like flight through doors and gaps—maximum speed and immersion. Prompts must lock the route: entry, path, stop.

Motion

Dolly Zoom

Dolly zoom (Hitchcock): camera pulls back while zooming in—background compresses toward the subject. Vertigo in a shot; once is enough.

Layout

Broken Grid

Broken grid: establish a visible grid, then let one or two key elements break it on purpose. No grid, no break; everything broken is just chaos.

Layout

Diptych / Triptych

Diptych/triptych: one theme across two or three continuous panels—repetition plus variation tells time, contrast or perspectives. Panels must share variables.

Layout

Triangular Hierarchy

Triangular hierarchy: elements form a stable triangle—apex holds the emphasis, base carries weight. Nothing outside should outshine it.

Layout

Isolated Focal Point

Isolated focal point: vast whitespace around a single focus—sparseness is the message. The focus needs real contrast to hold the stage.

Typography

Type Personality

Type personality: the typeface is the mood. Same image in Didot reads fashion magazine; in Helvetica, Swiss poster. Pick the personality first.

Typography

High-Contrast Serif

High-contrast serif (Didot-style): extreme thick-thin contrast—the fashion magazine face. For AI images, describe hairlines and sharp serifs, not just the name.

Typography

Grotesque Sans

Grotesque sans: the hardworking neutral sans—headlines for news and commercial posters. Max weight, tight tracking equals power.

Typography

Font Pairing

Font pairing: display face grabs eyes, text face stays readable. Match x-heights, don't clash moods—and pair CJK with a Latin partner.

Typography

Variable Fonts

Variable fonts: weights 200–900 plus width and slant axes in one file. One file from headline to body—fast and lean for the web.

Typography

Type Scale

A set of font sizes generated by a fixed ratio (e.g. 1.25): 12/14/16/20/24/32 — clear hierarchy at a glance.

Typography

Line Height

Body line-height 1.6–1.75, headings 1.2–1.3: too tight feels cramped, too loose feels scattered.

Typography

Letter Spacing

Wide letter-spacing (0.05–0.1em) on English display headings looks premium; keep body at 0.

Typography

Font Loading

Use font-display: swap: show system fonts first, swap in the webfont when ready — no blank waiting.

Typography

CJK Mixed Typesetting

When mixing Chinese with Latin/numbers, add half-width spacing on each side so the text can breathe.

Typography

Tabular Numbers

Use font-variant-numeric: tabular-nums for tables, prices and countdowns — equal-width digits align and don't jitter.

Typography

Fluid Typography

Use clamp() for fluid type that scales smoothly with the viewport — not cramped on mobile, not huge on desktop.

Typography

Balanced Headlines

Use text-wrap: balance on multi-line headings so wrapped lines are roughly equal — no orphan words.

Game FX

Damage Numbers

Floating damage numbers on hit: crits scale up in red, normal hits white, heals green. Numbers float up and fade—pure game feel.

Game FX

Health Bar

HP bar: on damage, a white ghost bar lingers then the red catches up—creates visceral impact. Flashes when low.

Game FX

Hit Flash

White flash on hit: the target flashes white for 0.1s—instant hit confirmation. The most direct impact feedback.

Game FX

Combo Counter

Combo counter: consecutive hits stack a counter that scales up with count, shrinks away when the combo breaks.

Game FX

Skill Cooldown

Radial cooldown sweep on skill icons: a dark sector sweeps clockwise, skill ready when complete. MOBA standard.

Game FX

XP Bar

Thin XP bar: smooth fill on gain, flash-burst on level up. Subtle but satisfying progression feedback.

Game FX

Boss HP Bar

Wide boss HP bar at top: segmented by phases, screen shake + color shift on phase change. Pure intimidation.

Game FX

Damage Vignette

Red vignette on damage: screen edges redden with each hit, intensifying at low HP. You feel pain without checking HP.

Game FX

Loot Sparkle

Sparkle on rare loot: golden particles float around the drop—signals value at a glance. Rarer = fancier.

Game FX

Floating Text

Floating pickup text: '+100 Gold' or 'Quest Complete' drifts up from center. Lighter than modals, more game-y than toasts.

Typography

Drop Cap

Enlarged first letter spanning 2-3 lines: classic editorial typography that signals 'the article starts here.'

Typography

Pull Quote

Pull the best sentence out and enlarge it: big type + quote marks + whitespace breaks up long reads.

Typography

Gradient Text

Gradient-filled headings via background-clip:text. Purple-to-pink is the SaaS landing page standard.

Typography

Text Stroke

Hollow outline text via -webkit-text-stroke: perfect for giant background headings and poster type.

Typography

Vertical Text

Vertical text via writing-mode:vertical-rl. Traditional CJK aesthetic—instant sophistication for cultural sites.

Typography

Ligatures

fi/fl ligatures via font-feature-settings. The invisible source of refined English typography.

Typography

Small Caps

Small caps via font-variant: more elegant than ALL CAPS for English subheads and buttons.

Typography

3D Text

Stacked text-shadows for 3D type: retro game/poster classic. 3-5 shadows offset by 1px each.

Motion

Flat / Vector MG

Flat/vector MG: solid geometric shapes and bold color blocking in the Google-explainer tradition—the mainstream style for SaaS and product explainers.

Motion

Cel Boil Hand-drawn

Cel boil: hand-drawn lines jitter every 2-3 frames so the whole frame boils and breathes; fills intentionally overflow the lines—pure handcrafted life.

Motion

Line Art Draw-on

Line art: a single continuous line draws the whole scene (draw-on), minimal black-on-white elegance—restrained and premium.

Motion

Isometric 2.5D

Isometric 2.5D: a fixed 45-degree micro-world where buildings grow along the isometric grid—the frame reads as a city building itself.

Motion

Soft 3D Render

Soft 3D render: rounded volumes, delicate gradients and soft shadows in the C4D/Blender look—the language of high-end product ads.

Motion

Shape Morph

Shape morph: one figure fluidly transforms into another via shape tweening—using metamorphosis to tell a transformation story, one of MG's most memorable moves.

Motion

Sticker Explainer

Sticker explainer: extra-thick black outlines, sticker-style hard shadows and cartoon characters—animated sticker sheets that make knowledge content pop.

Motion

Cyber HUD / FUI

Cyber HUD/FUI: fictional sci-fi interfaces—scanlines, rotating tick rings, target lock boxes and data streams, military-tech glow on dark.

Motion

Collage Cut-out

Collage cut-out: magazine clippings, torn paper and photos animated as one rough, witty board—beloved by indie magazines and culture features.

Motion

Aurora Gradient Glass

Aurora gradient + glassmorphism: blurred light blobs over soft gradients with frosted cards floating above—the dreamy premium SaaS-site look.

Motion

Bauhaus Composition

Bauhaus composition: primary-color geometry moving inside a strict grid—the modernist aesthetic of exhibitions and brand films.

Motion

80s Synthwave / VHS

80s synthwave: neon horizon, perspective grid, striped sunset and VHS noise—maximum night-drive retro-futurism.

Motion

Pixel Art

Pixel art: chunky dots, a limited palette and stepped animation on threes—the 8-bit charm where pixel density and frame rhythm are everything.

Motion

Liquid Flow

Liquid flow: droplets that bounce, surface-tension edges and metaballs merging into one another—unreasonably smooth.

Motion

Variety-Show Captions

Variety-show captions: extra-bold outlined keywords slamming in with shake and sticker bursts—the 9:16 emotional exclamation mark.

Motion

Ink Wash

Ink wash: layers of ink blooming on paper—deep and pale, dry and wet, with breathing negative space. The go-to Eastern aesthetic.

Motion

Blueprint

Blueprint: white line-work drawing itself on cyanotype blue—dashed outlines, dimension marks and title blocks, the natural language of 'how it's built'.

Motion

Risograph

Risograph: spot-color overprint with misregistered layers and paper grain—few colors, endless character; the zine and indie-poster standard.

Motion

Swiss Motion

Swiss motion: grid, grotesque type, red-black-white—elements hard-cut and slide on a strict grid where information hierarchy is the visual.

Motion

Paper Popup Book

Popup book: pages turn and paper craft springs up—folds, layered tabs and paper shadows, the mechanics of fairy-tale surprise.

Motion

Red Papercut

Red papercut: layered Chinese paper-cut animation—symmetric cut-outs, stacked reds on white, a highly recognizable language for festivals and folk tales.

Motion

Shadow Puppetry

Shadow puppetry: jointed silhouettes against a warm lit screen—cut-out patterns, visible control rods; the oldest animation telling stories with light.

Motion

Whiteboard Explainer

Whiteboard explainer: marker lines drawing while the story talks—draw-on strokes, handwritten labels and eraser resets; the classic course format.

Motion

ASCII / CRT Terminal

ASCII/CRT: phosphor-green characters on a curved glass terminal—typewriter output, scanlines and afterglow flicker; the hacker-movie mood.

Motion

Data-viz Motion

Data-viz motion: bars growing, lines drawing and counters rolling—charts that tell the story themselves; standard for reports, keynotes and year-in-review.