UI componenets

A shared folder with AI prompts and code snippets

From workspace: Lovable

Team: Prompt library

Total snippets: 30

Lovable

UI componenets

30 snippets

Conversion-Focused Footer

A landing page footer with CTAs, links, badges, and trust signals.

Build a landing page footer with a mini CTA banner, navigation links, app store badges, social icons, and trust signals like SSL badge or reviews. Make it visually balanced, mobile responsive, and conversion-friendly.

Password Strength & Validation UI

Input field that shows real-time password strength and rules checklist.

Create a password input field with real-time strength indicator (weak → strong) and validation checklist (min length, special char, number, etc.). Show checkmarks as user types. Use subtle animations and tooltips.

One-Click Signup Landing

A minimal one-page landing with a clean header, short value prop, and one input.

Build a minimalist landing page with a short headline, subheading, and a single input field for email or phone. Add a “Get Started” button. Use soft colors, white space, and smooth fade-in elements.

Floating Action Contact Form

Button-triggered contact form that appears as a floating popup.

Design a floating action button (bottom right) that triggers a compact contact form modal. Include fields for name, email, and message. Add subtle opening animation, blur background, and “Thank You” state after submission.

Lead Capture Form

Short and punchy form for gated content or demo requests.

Create a compact lead capture form for gated content. Include fields for name, email, and company. Add a compelling headline and CTA button. On submit, show a “Check your inbox” confirmation with a success checkmark.

Gradient Login Page

A full-page login screen with gradient background and split content layout.

Build a full-page login screen with a gradient background and two-column layout: left side with welcome text and illustration, right side with the login form. Add soft shadows, glowing inputs, and a modern font.

Newsletter Signup Section

Embedded email signup block with benefits list and success feedback.

Design a newsletter signup section with a short benefit list, an email input field, and a CTA button. Show a success message on submission with a checkmark animation. Make it visually appealing and mobile-friendly.

Hero Section with CTA

Bold landing hero with a clear headline, subtext, image or video, and a call-to-action.

Create a landing page hero section with a bold headline, subheading, and a clear CTA button. Add a right-side image or autoplaying video. Use responsive layout, light animations, and emphasize visual hierarchy for conversion.

Authentication Modal with Social Logins

A login/signup modal with email/password inputs and social login buttons.

Build a modal-based auth form with tabs for “Login” and “Sign Up”. Include inputs for email and password, a show/hide password toggle, and Google/GitHub login buttons. Add transitions between the tabs and error handling for validation.

Multi-Step Form Wizard

A dynamic, multi-page form with progress indicators and smooth transitions between steps.

Design a 3-step form wizard with clear step indicators at the top. Each step should include form fields and a “Next” button. Add transitions between steps and validate input before moving forward. Include a final “Submit” with confirmation animation.

Team Member Cards

Team profile cards with roles, skills, and elegant hover states.

Build a responsive team section with profile cards showing name, role, avatar, skill tags, and social links. Include hover animations that reveal extra info or contact buttons. Mobile-friendly layout.

Interactive FAQ Accordion

Searchable, animated FAQ accordion with category tabs.

Create a collapsible FAQ section with search input, category filters (tabs), and animated expand/collapse. Allow one open item at a time. Smooth UX with accessible keyboard navigation.

Notification Center

A bell icon dropdown with categorized, timestamped, actionable notifications.

Build a notification bell icon that opens a dropdown with categorized notifications (e.g., Messages, Alerts). Include icons, timestamps, and action buttons (mark as read, dismiss). Smooth animation on open/close.

Advanced File Upload

Drag-and-drop uploader with real-time file previews and validations.

Design a drag-and-drop file uploader component with file previews (image or file type icon), progress bar animations, max size validation, and success/error messages. Allow users to remove files before upload.

Social Proof Section

Rotating testimonials with avatar, ratings, and carousel movement.

Create a testimonials section with avatar images, 5-star ratings, short feedback text, and rotating carousel animation. Include company logos for credibility. Enable swipe/scroll support on mobile.

Interactive Dashboard Cards

Dynamic stat cards with mini charts, gradient backgrounds, and animation.

Generate four dashboard cards showing KPIs with animated counters and mini line/bar charts. Add subtle gradients in the background and icons for context. Include percentage change indicators with arrows (up/down).

Feature Showcase Grid

Responsive grid of feature cards with hover effects and modal-based expansion.

Build a 3-column responsive feature grid with icons and brief descriptions. Add hover effects that highlight the card, and enable a “Learn More” modal on click. Ensure mobile responsiveness and accessibility.

Progress Timeline

A vertical timeline showing animated project milestones and expandable step details.

Create a vertical progress timeline with 5 project milestones. Each milestone should include an animated progress icon, a colored status badge (e.g. completed, in-progress), and expandable sections with more details.

Smart Search Bar

Build a search input with autocomplete, recent queries, and animated category suggestions.

Build a smart search bar component with real-time autocomplete suggestions. Show recent search history, categorized results, and smooth dropdown animation. Include keyboard navigation and icon indicators for categories.

Interactive Pricing Cards

Create responsive pricing tiers with animated hover states, feature comparisons, and a gradient-highlighted "most popular" badge.

Design three responsive pricing cards with subtle hover animations. Include a badge for “Most Popular” on the middle tier with a soft gradient. Each card should list 4 features with check icons and a CTA button. Add responsive layout and smooth...

Pixel-Perfect Review

Align UI to design specs without side effects

Make the UI pixel-perfect according to Figma or design specs. You can adjust margins, paddings, alignment, and visual elements—but do not modify component logic, props, state, or API integration. Ensure app behavior is unchanged after visual...

Minimal UI Modernization

Update look while preserving function

Modernize the UI using updated styling (e.g., rounded corners, shadows, hover states). Do not change the structure, props, or any logic behind components. Confirm through testing that every feature works exactly as before.

Visual Regression Audit

Prevent visual bugs without breaking logic

Run a visual regression audit on the UI. Identify purely visual bugs or inconsistencies and fix them. Do not touch component logic, state, or API behavior. Use screenshots or snapshots to verify visual integrity remains consistent.

Accessibility Enhancement

Improve a11y with no logic changes

Improve the accessibility of the UI by adding ARIA labels, semantic tags, and better contrast ratios. Do not change any app logic, interactivity, or data flow. Ensure these improvements do not introduce regressions or break the original...

Design Token Implementation

Apply design tokens visually

Replace raw values (e.g., #000000, 16px) with design tokens from the existing design system. Apply only visual changes—colors, spacing, typography. Do not affect functional code or app logic. Test to ensure the UI behaves exactly the same.

UI Code Cleanup

Clean up redundant visual styles

Refactor UI code to remove unused CSS classes, inline styles, or duplicated stylesheets. Do not remove any functional code or impact component behavior. After refactoring, test each component to ensure nothing is visually or functionally broken.

Dark Mode Visual Update

Implement dark mode without affecting behavior

Add a dark mode theme to the UI using CSS variables or a theme switcher. Do not touch component logic, state, or API integrations. Your focus is purely visual. Ensure that toggling between modes does not interfere with the app’s logic or data.

UI Consistency Sweep

Unify visual elements

Go through the entire UI and ensure consistent usage of fonts, button styles, border radius, and spacing. You are only allowed to touch CSS/styling—do not alter any component logic, state, or data handling. Test thoroughly to confirm that user...

Refactor UI Responsively

Make the UI responsive without breaking functionality

Update the existing UI to support responsiveness across mobile, tablet, and desktop. Do not modify state logic, component behavior, or API calls. Focus only on layout and style (media queries, flex/grid, etc). Ensure the app still functions the...

Safe UI Polish

Improve UI visuals without touching logic

You are a frontend engineer tasked with polishing the UI without affecting app logic. Focus on improving spacing, color consistency, typography, and visual hierarchy. Do not change component structure, logic, state, or API calls. After each...

Lovable - UI componenets - AI Prompts & Code Snippets | Snippets AI