Skip to content

Copy-paste UI components

Free HTML, CSS and JavaScript components for Bootstrap 6, Bootstrap 5, Tailwind CSS and pure CSS. Preview live, copy the code, ship faster.

Browse by category

All 386 components

Latest components

SaaS Hero with Product Screenshot – WordPress hero sections preview

SaaS Hero with Product Screenshot

Centered SaaS hero section for the block editor with a headline, two buttons and a framed product dashboard screenshot, ready to paste as a Gutenberg pattern.

Countdown Sale Banner for Shopify – Shopify countdown timers preview

Countdown Sale Banner for Shopify

A Shopify section that counts down to one fixed end date, as a full banner or slim bar, with an optional discount code to copy and a clean ended state.

Subscription and Billing Screen – Bootstrap 6 mobile settings preview

Subscription and Billing Screen

Subscription management screen for mobile apps with current plan card, usage bars, plan switcher with proration, payment method update and an invoice list.

AI Assistant Chat Screen – Bootstrap 6 mobile chat & messaging preview

AI Assistant Chat Screen

AI assistant chat screen for mobile apps with suggestion cards, a streaming chatbot answer typed in word by word, copy and regenerate actions and voice input.

Order Confirmation and Tracking Screen – Bootstrap 6 mobile shop & checkout preview

Order Confirmation and Tracking Screen

Order confirmation screen for delivery apps with a success illustration, order number, ETA computed from now, live order tracking steps and a help sheet.

Mobile Checkout with Payment Methods – Bootstrap 6 mobile shop & checkout preview

Mobile Checkout with Payment Methods

Mobile checkout screen with a delivery address sheet, delivery time options, payment method radio cards, promo code and a live order summary with place order.

Doctor Profile with Booking Slots – Bootstrap 6 mobile profile screens preview

Doctor Profile with Booking Slots

Doctor profile screen for healthcare apps with rating, experience stats, today and tomorrow time slots and a doctor appointment booking sheet.

Recipe App Home with Categories – Bootstrap 5 mobile home & feed preview

Recipe App Home with Categories

Recipe app home screen with search, meal type category chips, a recipe of the day card, a quick recipes list with time and difficulty, filters sheet and bottom tabs.

Forgot Password Flow Screens – Tailwind CSS mobile login & sign up preview

Forgot Password Flow Screens

Forgot password flow screens for mobile apps: email step, 6-digit verification code, new password with strength rules and confirmation, then a success state.

Mobile Sign Up with Password Strength – Pure CSS mobile login & sign up preview

Mobile Sign Up with Password Strength

Mobile sign up screen with name, email and a password strength meter, live password rules checklist, terms checkbox, validation and a verify-your-email state.

Social Media App Feed with Stories – Bootstrap 5 mobile home & feed preview

Social Media App Feed with Stories

Social media app feed with a stories row and story viewer, photo posts with like, comment and save, a comments bottom sheet and a tab bar with a create button.

Mobile Login Screen with Social Sign-In – Tailwind CSS mobile login & sign up preview

Mobile Login Screen with Social Sign-In

Mobile login screen with Apple and Google social sign-in, email and password fields, show password toggle, inline validation and a forgot password bottom sheet.

3D Coverflow Image Carousel – Pure CSS carousels preview

3D Coverflow Image Carousel

Coverflow-style image carousel with rotated 3D side photos, reflections, captions, dots, swipe and keyboard navigation in pure CSS and vanilla JS.

Split Hero with Diagonal Photo Clip – Pure CSS hero sections preview

Split Hero with Diagonal Photo Clip

Pure CSS split hero with headline, buttons and stats beside a full-height photo cut on a diagonal with clip-path, plus an accent stripe and rating badge.

Navbar with Sliding Active Indicator – Pure CSS navbars preview

Navbar with Sliding Active Indicator

Dark responsive navbar with a glowing underline that slides between links on hover, focus and click, built with CSS custom properties and vanilla JS.

Social Login Buttons – Tailwind CSS social buttons preview

Social Login Buttons

Dark Tailwind CSS social login buttons for Google, Apple and GitHub with full-width and icon-only variants and a loading spinner state.

Scroll-Snap Carousel – Pure CSS carousels preview

Scroll-Snap Carousel

Native CSS scroll-snap carousel with arrow buttons, synced pill dots and keyboard support, enhanced by a few lines of vanilla JavaScript.

What is WebDevSnippets?

WebDevSnippets is a free library of ready-to-use UI components for web developers. Every component is plain HTML, CSS and vanilla JavaScript, built for Bootstrap 5, Tailwind CSS or pure CSS, so it drops into any project and any stack without a build step or extra dependencies.

The library covers the parts every website needs: navigation bars, hero sections, cards, forms, pricing tables, modals, footers and e-commerce blocks, as well as complete page templates for homepages, about, services, contact and pricing pages. New components are added every day.

Choose the design you actually want

Ask an AI coding assistant for "a pricing section" or "a landing page" and it either guesses a layout from your words or makes one up, and you spend the next hour explaining what you really meant. WebDevSnippets works the other way round: you browse real, working designs, compare them in the live preview and pick the one you like.

Found it? Click Download HTML on the component page. You get a single file with the markup, styles and script, ready to use in two ways:

  • Build it yourself: open the file, copy what you need into your project and adjust the colors and text.
  • Give it to your AI assistant: attach the file and ask it to use this design in your project, for example "build our pricing section like this file, using our components and brand colors". The AI then follows the design you chose instead of inventing one.

Either way, your project looks the way you decided, not the way a prompt happened to turn out.

How it works

  1. Find a component by category or with the search box.
  2. Check the live preview, or open it full screen in a new tab.
  3. Copy the HTML, CSS and JavaScript, or download everything as one HTML file, and use it yourself or with your AI assistant.

All components are free for personal and commercial projects, including client work; see the license. For colors, the free developer tools include a color picker, palette generator, tints and shades and a WCAG contrast checker.