UI & Design
Layouts, components, responsive design, colours, typography and polishing AI-generated interfaces.
AI-generated interfaces get you 80% there. These guides cover the last 20%: type, spacing, responsive behaviour and design systems.

Guides in UI & Design
Prompts for this topic
Answered questions in UI & Design
20 short, plain-English answers filed under this topic.
How do I make my Lovable website look less AI-generated?
Set a real colour palette, a font pairing and spacing scale up front, then ask Lovable to remove generic gradients, stock-photo hero clichés and default shadcn styling so the site reads as bespoke.
How do I improve the design of a Lovable website?
Audit one page at a time in Preview, fix typography/colour/spacing consistency first, then use the preview toolbar to select and adjust individual elements rather than re-prompting the whole page.
How do I make my Lovable website look professional?
Professional usually means restrained: a small consistent palette, two fonts, generous whitespace, real content instead of placeholders, and working links — not extra visual effects.
How do I fix spacing problems in Lovable?
Point Lovable at specific sections with exact spacing values (in Tailwind units or pixels) rather than saying "fix the spacing" — vague requests get vague, inconsistent results.
How do I fix inconsistent fonts?
Tell Lovable exactly which two fonts to use for headings and body text, add it to Project knowledge, and ask it to sweep the whole app and replace any font that doesn't match.
How do I make my Lovable website mobile-friendly?
Lovable's Tailwind output is responsive by default, but you still need to explicitly review and prompt fixes at mobile breakpoints — ask Lovable to check every page in a mobile viewport and fix overflow, tap targets and stacking order.
Why does my Lovable website look different on mobile?
Tailwind renders layouts differently at each breakpoint by design, but if the difference looks broken rather than intentional, it usually means an element uses a fixed width, an unhandled grid, or missing responsive classes for that breakpoint.
How do I fix horizontal scrolling on mobile?
Horizontal scroll on mobile almost always comes from one element wider than the viewport — a fixed-width box, an un-wrapped table, or negative margins — ask Lovable to find and fix the specific overflowing element rather than the whole page.
How do I fix buttons overflowing on mobile?
Set buttons to full width or allow text wrapping below a breakpoint, and shorten long button labels for mobile — ask Lovable to make buttons responsive rather than fixed-width.
How do I fix tables on mobile?
Wrap the table in a horizontally scrollable container, or ask Lovable to convert it into stacked cards on mobile — plain HTML tables rarely fit a phone screen without one of these changes.
How do I make a mobile menu in Lovable?
Ask Lovable to add a hamburger menu using shadcn/ui's Sheet or Drawer component that opens a slide-out nav below the tablet breakpoint, keeping the existing desktop nav bar unchanged above it.
How do I make sections full width?
Remove the container's max-width constraint for that section and make its background span the full viewport width, while keeping the inner content in a centred, max-width column for readability.
How do I add animations?
Ask for specific, subtle animations (fade-in on scroll, hover states, a smooth page transition) rather than "add animations" generally — Lovable can use Tailwind transitions or a library like Framer Motion depending on what you need.
How do I remove unnecessary animations?
List the specific animations that feel excessive (bounce, spin, auto-sliding carousels, delayed fade-ins) and ask Lovable to remove or simplify just those, rather than stripping all motion from the site.
How do I make a sticky header?
Ask Lovable to make the header `fixed` or `sticky` at the top with a defined z-index, and add top padding to the page content equal to the header's height so it isn't hidden underneath.
How do I make a sticky mobile CTA?
Ask Lovable to add a fixed bottom bar on mobile only, containing the single most important call-to-action, and make sure it doesn't overlap other fixed elements or block form fields near the bottom of the screen.
How do I create popups or lightboxes?
Ask Lovable to use shadcn/ui's Dialog component for modal popups (confirmations, forms, image lightboxes) and specify the trigger, content and close behaviour clearly rather than describing it as a generic "popup".
How do I create tabs or accordions?
Ask Lovable to use shadcn/ui's Tabs or Accordion component for the specific content you're organising (e.g. FAQ, pricing feature comparison) — these are standard, accessible components already available in the library.
How do I add dark mode?
Ask Lovable to add a theme toggle using Tailwind's dark mode classes and shadcn/ui's theming support, then check every page and component — including third-party embeds — for readable contrast in both themes.
How do I improve accessibility?
Ask Lovable to check colour contrast, add alt text to images, ensure keyboard navigation works, and use semantic HTML/ARIA labels — these cover most common accessibility gaps in generated sites without needing a full audit tool.