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

Latest components

App Features with Phone Screenshot – free WordPress feature section template

App Features with Phone Screenshot

A mobile app features section with a centered phone photo between four numbered feature cards, a section heading and download buttons, built from core Gutenberg blocks.

Recently Viewed Products for Shopify – free Shopify product grid template

Recently Viewed Products for Shopify

Shopify section that remembers the products a shopper opened and shows them in a scroll-snap row, with prices, arrow buttons and a clear history button.

Two-Column Finance CV – free Bootstrap 6 resume template template

Two-Column Finance CV

Classic two-column CV template for a finance analyst with a sidebar for contact, skills and certifications, a compact/comfortable spacing toggle and print-ready A4 resume layout.

Alerts with Icons – free Bootstrap 6 alert template

Alerts with Icons

Bootstrap 6 alerts in every theme color with solid icon tiles, headings, actions, a storage meter, dismiss buttons with focus handling and a restore control.

Dark Hero Corporate Homepage – free Bootstrap 6 home page template

Dark Hero Corporate Homepage

Corporate homepage with a dark hero and live-style dashboard, services, case studies, team, news, FAQ and a validated contact form: a company website layout for tech firms.

Multi-Item Card Carousel – free Bootstrap 6 carousel template

Multi-Item Card Carousel

Dark Bootstrap 6 card carousel that shows one to four course cards per view, with arrows that stop at the ends, a live range counter and a scroll track.

Compact Team List – free Bootstrap 6 editor block template

Compact Team List

Bootstrap 6 compact team list in a list group with small round avatars, names, roles and colored department badges, for masthead, contact and staff pages.

Hero with Video Background – free Tailwind CSS hero section template

Hero with Video Background

Tailwind CSS hero section with a muted looping background video, gradient overlay, call to action buttons and an accessible pause button.

Vinyl Record Player with Album Cover – free Pure CSS music player template

Vinyl Record Player with Album Cover

Pure CSS turntable music player with a spinning vinyl record, album cover label, animated tonearm, progress bar and clickable tracklist.

Progress Ring Goal Chart – free Bootstrap 5 chart template

Progress Ring Goal Chart

Progress ring goal chart with three concentric SVG rings for move, exercise and stand goals, a value legend and a last 7 days selector for fitness dashboards.

Social Follow Buttons with Counts – free Bootstrap 5 social button template

Social Follow Buttons with Counts

Bootstrap 5 social follow buttons for X, Instagram, YouTube, LinkedIn, GitHub and Facebook with brand colors, compact follower counts and a live total.

Before and After Image Comparison Slider – free Tailwind CSS gallery template

Before and After Image Comparison Slider

Tailwind CSS before and after image slider with a draggable divider, keyboard support through a native range input and quick jump buttons.

New · Free · MIT

WDS Editor: a free WYSIWYG HTML editor

Turn any textarea into a rich text editor with a built-in file manager, image upload, tables and clean HTML output. No paid add-ons and no API key.

  • Free file manager that works from a JSON list
  • Images with captions, tables, safe paste from Word
  • Two files from a CDN, or npm install wds-editor
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.