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 363 components

Latest components

Product Comparison Table Section for Shopify – Shopify tables preview

Product Comparison Table Section for Shopify

Shopify section with a real comparison table for 2 to 4 products: live prices, yes/no icons, row values set in the theme editor, and a sticky first column when it scrolls on phones.

Startup Coming Soon Homepage Template – Bootstrap 6 home pages preview

Startup Coming Soon Homepage Template

Dark Bootstrap 6 pre-launch startup homepage with a waitlist form, launch countdown, seats progress bar, bento feature grid, vote chips, testimonials, FAQ and an invite-code dialog.

Marketing Consultant Homepage Template – Bootstrap 6 home pages preview

Marketing Consultant Homepage Template

Warm editorial Bootstrap 6 homepage for a marketing consultant with services tabs, case-study results, an ROI calculator, process stepper, testimonials, FAQ and a call booking form.

Logistics Company Homepage Template – Bootstrap 6 home pages preview

Logistics Company Homepage Template

Bootstrap 6 logistics homepage with live shipment tracking and a stepper, freight services, a hub network map, client results and a quote form with Combobox, Range and chips.

Coworking Space Homepage Template – Bootstrap 6 home pages preview

Coworking Space Homepage Template

Bright Bootstrap 6 coworking homepage with a bento hero, space type tabs, monthly/yearly plans, amenities grid, member stories, tour booking form with Datepicker and Combobox, and FAQ.

Blog Homepage Template – Bootstrap 6 home pages preview

Blog Homepage Template

Dark, warm Bootstrap 6 personal blog homepage with a featured essay hero, topic chip filters, bookmarkable post cards, a start-here stepper, reader letters and a newsletter signup.

Subscription Renewal Reminder Email – Pure CSS email templates preview

Subscription Renewal Reminder Email

Email-safe renewal reminder with a photo header, plan summary and renewal amount, benefits list, bulletproof manage button and skip, pause and cancel links.

Timeline with Scroll Progress Line – Pure CSS timelines preview

Timeline with Scroll Progress Line

Dark vertical timeline whose glowing center line fills as you scroll, lighting up each milestone when it is reached. Alternating cards on desktop.

Order Details Page with Product Photos – Bootstrap 5 order history preview

Order Details Page with Product Photos

Bootstrap 5 order details page with product photos, delivery progress tracker, price summary, shipping address, copy order number and buy-again toast.

Frequently Bought Together Section for Shopify – Shopify product details preview

Frequently Bought Together Section for Shopify

Shopify section that shows the current product with up to 3 picked products, checkboxes, variant selects, a live total and one button that adds everything checked to the cart.

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.