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

Latest components

Pricing Plan Comparison Table – WordPress pricing tables preview

Pricing Plan Comparison Table

A pricing plan comparison table for the block editor that compares three plans across eight features in a striped table, with prices in the header and plan buttons below.

Mega Footer with Accordion on Mobile – Bootstrap 6 footers preview

Mega Footer with Accordion on Mobile

Large Bootstrap 6 footer whose five link columns turn into an exclusive details accordion on phones, with brand block, stats strip, CTA and legal bar.

Footer with App Download Buttons – Bootstrap 6 footers preview

Footer with App Download Buttons

Bootstrap 6 footer with a green app promo panel: generic iOS and Android download buttons, QR code, CSS phone mockup, link columns and a region Combobox.

Dark Footer with Contact Info – Bootstrap 6 footers preview

Dark Footer with Contact Info

Dark Bootstrap 6 footer with address, phone and email cards, copy-to-clipboard Toast, live open/closed hours badge, link columns and a language Menu.

Simple Centered Footer – Bootstrap 6 footers preview

Simple Centered Footer

Minimal centered Bootstrap 6 footer with logo, tagline, pill nav links, outline social icon buttons with tooltips, a floating back-to-top button and status line.

Footer with Newsletter Signup – Bootstrap 6 footers preview

Footer with Newsletter Signup

Warm Bootstrap 6 footer with a newsletter card: adorned email field, topic toggle pills, consent check, simulated subscribe, link columns and a bottom bar.

View Transitions API Page Transition – Pure CSS page transitions preview

View Transitions API Page Transition

Playlist grid and detail views that cross-fade with the native View Transitions API, morphing the cover art between views, with an instant fallback.

Product Quick View Modal with Photo – Bootstrap 5 modals preview

Product Quick View Modal with Photo

Bootstrap 5 product quick view modal with photo, rating, material and size options that update price and image, quantity stepper and add to cart.

Sticky Social Share Sidebar – Tailwind CSS social buttons preview

Sticky Social Share Sidebar

Tailwind CSS article layout with a sticky vertical social share bar that turns into a fixed bottom bar on mobile, with copy link.

Horizontal Image Accordion – Pure CSS accordions preview

Horizontal Image Accordion

Row of five photo panels that expand horizontally on hover, focus or tap, with vertical titles, smooth @property transitions and a stacked mobile layout.

Editable Table with Inline Editing – Bootstrap 5 tables preview

Editable Table with Inline Editing

Dark Bootstrap 5 inventory table with click-to-edit cells, validation, live totals, an unsaved changes counter and simulated save and discard.

Three-Tier Pricing Table with Highlighted Plan – WordPress pricing tables preview

Three-Tier Pricing Table with Highlighted Plan

A three-tier pricing table for the block editor with Starter, Pro and Business plans, a highlighted dark Pro plan card, feature lists and full-width buttons.

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.

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.

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.

Hero with Rotating Words – Pure CSS hero sections preview

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.

Expanding Search Bar – Pure CSS search bars preview

Expanding Search Bar

Search icon button that expands into a pill-shaped input, shown in a dark navbar and a large hero search, with Escape to close and a demo submit.

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.