tuqo
52 live components · prompt builder · UX checklist

52 UI elements: interactive guide for sites & AI prompts

Calling a component by its real name — Drawer, Segmented Control, Combobox, Skeleton — makes AI tools nail your layout on the first try. Click through 52 live interactive examples and assemble a ready-to-paste prompt.

How AI turns component names into clean UI

Four steps from prompt to live site. Exact UI terminology saves 5–10 rounds of back-and-forth fixes.

1

Name the exact component

Ask for a “Drawer” or “Segmented Control” instead of “side box” — AI hits the right pattern on try one.

2

Specify every state

Default, hover, focus, loading, error and empty states separate finished UI from raw AI output.

3

Verify mobile & keyboard

44px tap targets, zero horizontal overflow, Escape closes overlays and contrast passes in both themes.

4

Publish on Tuqo

Drop your folder or deploy straight via MCP — live over HTTPS in seconds.

Quick distinctions

Patterns people confuse most often

Three pairs that cause most UX friction when picked interchangeably.

Selection controls

Checkbox vs Radio vs Toggle

All three look like toggles, yet each sets a distinct user expectation.

Checkbox — multi-select; applies on Save.
Radio — strictly one of 2–5 visible choices.
Toggle — applies immediately, no Save button.
Overlays

Modal vs Drawer vs Popover

Pick based on whether you should block the page and how much space the task needs.

Modal

Centered + dimmed: short focused step.

Drawer

Side / bottom: filters, cart, tall forms.

Popover

Anchored, non-blocking: mini actions.

Tooltip

3–6 hover words only, never interactive.

Loading states

Spinner vs Progress vs Skeleton

The right indicator makes loading feel twice as fast and avoids layout shift.

Saving…
Spinner — 1–3s inside buttons, unknown duration.
Uploading zip 68%
Progress — known percentage (uploads, steps).
Skeleton — mirrors final layout: zero layout jump.
In prompt: 0

Buttons & form inputs

Controls people use to enter data, toggle settings, filter lists and submit forms.

16 elements

Button (CTA)

Button
#

Primary action trigger with clear hierarchy: one Primary CTA, Secondary Ghost, Danger and Loading state.

Tip: Label buttons with concrete verbs (“Send request”, “Download PDF”) rather than vague “OK”.

Split Button

Split Button
#

Two-part button: instant default action on the left, chevron menu of secondary options on the right.

Tip: Great for “Publish” paired with secondary options like “Save draft” or “Schedule”.

✓ Valid email

Text Input

Text Input
#

Single-line field with persistent label, helpful placeholder and clear inline validation feedback.

Tip: Always keep a visible label above the field — placeholders disappear the moment someone types.

Password Field

Password Field
#

Masks typed characters with a show/hide eye toggle and an optional strength meter on sign-up.

Tip: Always include a show/hide toggle to prevent mistyped passwords on mobile.

Checkbox

Checkbox
#

Square checkmark control for selecting zero, one or many independent items or accepting terms.

Tip: Best when selections take effect after clicking a submit or apply button.

Radio Button

Radio Button
#

Circular option control for picking strictly one choice out of 2–5 visible options.

Tip: Switch to a Select dropdown once options grow past 6–7 items.

Toggle (Switch)

Toggle / Switch
#

Physical-style on/off switch that applies a setting immediately without a Save button.

Tip: Use for instant binary settings like Dark Mode, notifications or publishing visibility.

Select (Dropdown)

Select / Dropdown
#

Compact picker for choosing one option from a long list like cities, categories or sort order.

Tip: Saves vertical space for 6+ choices; for 2–4 options, Radio buttons are faster to scan.

Combobox

Combobox
#

Text input paired with a filterable dropdown list — type to narrow down long catalogs.

Tip: Essential when a list has 15+ options (countries, cities, frameworks, tags).

Filter Chips

Filter Chips
#

Compact pill toggles for multi-select filtering or removable selected tags.

Tip: Ideal above catalogs, portfolios and article feeds for one-tap filtering.

Budget $150

Slider (Range)

Slider / Range
#

Drag-along track for picking an approximate value like price ceiling, radius or opacity.

Tip: Always display the live numeric value beside the track (and allow typing when precision matters).

2
Quantity (1–9)

Number Stepper

Number Stepper
#

Minus (−) and plus (+) buttons flanking a number for quick quantity adjustments.

Tip: Faster and more thumb-friendly than typing for small counts like items, guests or seats.

November 2026

Date Picker

Date Picker
#

Compact calendar grid for choosing booking dates or deadlines without format mistakes.

Tip: Great for upcoming weeks; for birthdates, direct numeric input is much faster.

File Dropzone

File Dropzone
#

Dashed upload area supporting drag-and-drop plus click-to-browse with file preview.

Tip: State accepted formats and max file size up front so users aren’t surprised by rejections.

Type digits — focus advances automatically

OTP Code Input

OTP / 6-Digit Code
#

Six segmented digit cells for email or SMS verification codes with auto-advance.

Tip: Always support pasting the full 6-digit code in one go and Backspace stepping backward.

Feedback & overlays

Confirm actions, show loading progress, warn before destructive steps and explain empty states.

10 elements

Toast Notification

Toast / Snackbar
#

Brief floating confirmation in the screen corner (“Saved”) that dismisses itself after 3–4 seconds.

Tip: Never hide critical errors in a Toast — users may miss it before it disappears.

SSL certificate renews automatically 30 days ahead.

Alert (Callout)

Alert / Callout
#

Inline status banner inside the page for persistent notices, warnings or errors.

Tip: Unlike a Toast, an Alert stays visible until resolved or explicitly dismissed.

Tooltip

Tooltip
#

Short text label shown on hover or keyboard focus to explain an icon or metric.

Tip: Keep it brief and non-interactive (no links or buttons inside — use a Popover for those).

Popover

Popover
#

Floating card anchored to a button that can hold links, toggles or a mini form.

Tip: Lighter than a Modal: doesn’t block the whole viewport and closes on outside click.

Asks explicit confirmation first

Confirmation Dialog

Confirmation Dialog
#

Short safeguard dialog before destructive actions (“Delete site?”) with explicit verb CTA.

Tip: Name the danger button after the action (“Delete”), never generic “Yes”.

Building…

Spinner (Loader)

Spinner / Loader
#

Compact animated ring for brief waits (1–3 s) when total progress isn’t known.

Tip: Best inside submit buttons; prefer a Skeleton loader for full cards or page layouts.

Publishing files 65%

Progress Bar

Progress Bar
#

Determinate bar filling from 0% to 100% so users know how much work remains.

Tip: Essential for file uploads, checklists, onboarding steps and quota meters.

Skeleton Loader

Skeleton Loader
#

Low-contrast wireframe mimicking the upcoming card layout while data loads.

Tip: Makes pages feel faster and prevents layout shift (CLS) when real content swaps in.

No submissions yet
Connect a form — leads will appear here.

Empty State

Empty State
#

Helpful screen when a list, inbox or search has zero items — with icon, explanation and next action.

Tip: AI tools frequently forget this state, leaving an awkward blank box for first-time users.

Content & containers

Structure cards, tables, galleries and timelines so screens stay calm and scannable.

8 elements
Case study Minimalist studio

Card

Card
#

Self-contained container grouping an image, title, concise description and action.

Tip: Limit each card to 3–4 data points and keep consistent image ratios across grids.

No — static files are served directly over HTTPS.
Yes, issued and renewed automatically on every plan.

Accordion

Accordion
#

Vertically stacked headings that smoothly expand hidden answers — classic for FAQs and specs.

Tip: Don’t hide key selling points inside accordions; keep core benefits visible right away.

Hero tile
99.9% Uptime
0 ms no DB

Bento Grid

Bento Grid
#

Asymmetric grid of varied card spans (2×1, 1×1, 1×2) to showcase product highlights with visual rhythm.

Tip: Give the largest cell to your hero feature with visual media; use small cells for punchy stats.

Plan
Free$0
Start$5
Pro$15

Data Table

Data Table
#

Structured rows and columns with clickable column sorting and horizontal scroll on narrow screens.

Tip: Right-align numeric columns with font-variant-numeric: tabular-nums for effortless scanning.

AS
MK DV EP +2

Avatar & Stack

Avatar
#

Circular portrait or initials fallback, often paired with an online status dot or overlapping team stack.

Tip: Always include an initials fallback so broken or missing photos never look empty.

Live Draft Failed Leads 3

Badge & Status Pill

Badge / Pill
#

Compact label for status (“Live”, “Draft”), category tags or unread notification counters.

Tip: Keep it to 1–2 badges per card — stacked rows of colorful pills quickly look cluttered.

  1. Build ready14:02
  2. Issuing SSL14:03
  3. Site livenext

Timeline

Timeline
#

Vertical chronological track for order tracking, deployment history or product milestones.

Tip: Clearer than a plain bullet list whenever sequence and current status matter.

Motion & micro-interactions

Lightweight CSS motion with zero heavy libraries — responsive, subtle and prefers-reduced-motion safe.

6 elements
Browser animates variable height via grid-template-rows: 0fr → 1fr with zero JS.

Smooth Height Collapse

CSS Grid Collapse
#

Silky reveal of variable-height content using pure CSS grid-template-rows: 0fr → 1fr.

Tip: Eliminates janky max-height hacks and JS height measurements in expandable panels.

Shimmer Wave

Shimmer Animation
#

Subtle diagonal light sweep across placeholders signaling live background loading.

Tip: Always disable the sweep under prefers-reduced-motion: reduce, falling back to a calm fill.

HTMLAstroReactViteVueTailwind

Infinite Marquee

Logo Marquee
#

Seamless horizontal ribbon of partner logos, stacks or quotes that pauses on hover.

Tip: Fade left/right edges with CSS mask-image and pause on hover or reduced-motion.

Hover this card −3px lift + subtle teal glow

Hover Lift & Glow

Hover Micro-Interaction
#

Subtle 2–3px elevation and crisp border tint on pointer hover — signals clickability cleanly.

Tip: Animate transform and border-color only for effortless 60fps transitions without layout jank.

Scroll inside this mini pane to watch the hairline reading progress bar track your position.

Great for long guides: 3px tall, calm and unobtrusive.

Reached the end — the bar hits 100%.

Reading Progress Bar

Reading Progress
#

Hairline top bar tracking scroll depth through long guides, articles or case studies.

Tip: Gives readers quiet orientation on long-form pages without adding text clutter.

Success Micro-Animation

Success Checkmark
#

Animated SVG checkmark draw (stroke-dashoffset) with subtle sparkle burst on copy or submit.

Tip: Delivers gratifying tactile confirmation without interrupting the user with a modal.

For Claude, ChatGPT, Cursor, DeepSeek

Prompt assembler: send exact UI terms to your AI

Click “+ Add to prompt” on any component above — or load a preset below. The prompt lists exact UI names plus all states (hover, focus, loading, error, empty) and mobile responsiveness.

Quick presets:

UI Quality Checklist

Run through these checks after your AI builds a page — and compile any unchecked items into a single follow-up prompt.

Done: 0 of 11 Basics: 0 of 4

1. Clarity at first glance

What every visitor notices in the first 5 seconds.

2. Live states & feedback

What separates a polished product from raw AI scaffolding.

3. Accessibility & motion polish

Small touches that make an interface feel effortless.

8 common UI mistakes AI makes

Five competing primary buttons

When every button is bright, none stands out. Keep one Primary CTA per section and style secondary actions softly.

Mixing Checkboxes and Toggles

Toggles apply instantly; Checkboxes wait for Save/Submit. Using the wrong one breaks user expectations.

Missing empty & error states

AI loves happy-path mock data and forgets what shows when search returns zero items or a request fails.

Critical errors inside a Toast

Toasts vanish after 3 seconds. Put persistent errors and validation warnings in an inline Alert instead.

Placeholder replacing a label

The hint disappears the instant someone types, making forms painful to review before submitting.

Layout jump on state switch

Tabs or disclosures that abruptly shrink/grow shift the entire page underneath. Lock stage height or transition smoothly.

Modal stacked inside a modal

Nested popups break keyboard focus and feel claustrophobic on mobile. Use steps or a Drawer instead.

Ignoring prefers-reduced-motion

Many visitors enable reduced motion at the OS level — always include a prefers-reduced-motion media query.

Building a full site with AI? See the step-by-step AI website guide and publish checks.

UI elements: frequently asked questions

Why learn UI component names if an AI is writing the code? +

AI models are trained on design systems and component specs. Asking for a “Drawer” or “Segmented Control” instead of a “side box” gets clean layout, keyboard handling and Escape dismissal on the first try.

When should I pick a Drawer vs a Modal vs a Popover? +

Use a Modal for focused, short interruptions in the center; a Drawer when you need tall scrolling space for filters, carts or forms; and a Popover for lightweight anchored controls that shouldn’t dim the page.

Do these interactive components and animations require heavy JS libraries? +

No. Every one of the 52 live examples on this page runs on lightweight CSS and vanilla JavaScript with zero runtime dependencies — keeping your static site fast on Tuqo.

How do I publish a site generated by Claude, ChatGPT or Cursor? +

Drag the folder onto tuqo.dev/drop for an instant 24-hour link without signing up, or connect your AI over MCP to deploy directly to a permanent URL with free HTTPS.

Built the UI? Publish it in seconds

Drag your folder into Drop with no signup or connect your AI via MCP. Free HTTPS, fast serving and publish checks on every plan.