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

Latest components

Nonprofit Hero with Donation Call to Action – free WordPress hero section template

Nonprofit Hero with Donation Call to Action

A nonprofit hero section with a full-width volunteer photo, a Donate now and a Volunteer button and three impact numbers, built from core Gutenberg blocks for charity websites.

Build Your Own Bundle Section for Shopify – free Shopify product grid template

Build Your Own Bundle Section for Shopify

Shopify section where shoppers pick a set number of products from a collection, see them in a bundle tray with a live total, and add the whole bundle to the cart at once.

Business Invoice with Tax Breakdown – free Bootstrap 6 invoice template

Business Invoice with Tax Breakdown

Business invoice page with per-line tax rates, a tax summary table by rate, discount, shipping and total, plus a currency switch and print styles for a clean VAT invoice.

Team Chat Channel with Threads – free Bootstrap 6 mobile chat & messaging template

Team Chat Channel with Threads

Team chat channel screen for mobile with emoji reactions, thread replies in a bottom sheet, @mention suggestions in the message composer and channel options.

Accordion with Icons – free Bootstrap 6 accordion template

Accordion with Icons

Dark Bootstrap 6 accordion with spaced glass cards, colored leading icon tiles, subtitles and limit pills, built on native details with no JavaScript.

FAQ Accordion – free Bootstrap 6 accordion template

FAQ Accordion

Bootstrap 6 FAQ section with a native details accordion (first answer open, one at a time), a live question search and FAQPage schema markup.

Holding Group Corporate Homepage – free Bootstrap 6 home page template

Holding Group Corporate Homepage

Holding group corporate homepage with a sector filter for group companies, group figures, board and leadership tabs, sustainability targets and a contact form for holding company websites.

404 Page with Background Photo – free Tailwind CSS error page template

404 Page with Background Photo

Full-screen Tailwind CSS 404 not found page over a mountain photo with a dark gradient overlay, outlined 404, home and back buttons and quick links.

Yoga Studio Homepage – free Bootstrap 5 home page template

Yoga Studio Homepage

Calm yoga studio homepage with a weekly class schedule that opens on today, class types, memberships, an intro offer, teachers, live opening hours and a class booking form.

Stacked Bar Chart with Series Toggle – free Tailwind CSS chart template

Stacked Bar Chart with Series Toggle

Stacked bar chart of weekly support tickets by status with a rescaling value axis, per-segment tooltips and checkbox chips that show or hide each series.

Wishlist Screen with Price Drop Alerts – free Pure CSS mobile shop & checkout template

Wishlist Screen with Price Drop Alerts

Mobile wishlist screen with price drop badges, a price alert switch per saved item, filter chips, move to bag and remove actions with an undo toast.

Navbar with Sliding Active Indicator – free Pure CSS navbar template

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.

3D Coverflow Image Carousel – free Pure CSS carousel template

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 – free Pure CSS hero section template

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.

Hero with Rotating Words – free Pure CSS hero section template

Hero with Rotating Words

Dark hero section whose headline cycles through words with a slide-and-fade animation, a pause button and decorative stat cards.

Simple Centered Footer – free Pure CSS footer template

Simple Centered Footer

Minimal centered footer in pure CSS with a logo, tagline, links with animated underlines, round icon links and an auto-updating copyright year.

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 6, 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.