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

Latest components

Fitness Studio Hero with Class Times – free WordPress hero section template

Fitness Studio Hero with Class Times

A dark fitness studio hero section with a bold uppercase headline, a free week trial button, a weekly class schedule card and a gym photo, built from core Gutenberg blocks.

Product Information Tabs for Shopify – free Shopify product detail page template

Product Information Tabs for Shopify

Shopify section: product description, details, shipping and care in ARIA tabs with arrow-key support, turning into an accordion on mobile. Tabs can show a page.

Menu Dropdown Button Variants – free Bootstrap 6 dropdown template

Menu Dropdown Button Variants

Bootstrap 6 Menu dropdowns on buttons: split button with selectable options, drop up, drop end, drop start, headers, icons and dividers.

Dark Dashboard Sidebar – free Bootstrap 6 sidebar template

Dark Dashboard Sidebar

Dark Bootstrap 6 dashboard sidebar with user profile, grouped icon nav, collapsible submenu and an upgrade card, turning into a Drawer on mobile.

Horizontal Bar Chart Ranking – free Bootstrap 6 chart template

Horizontal Bar Chart Ranking

Horizontal bar chart ranking the top 8 products by revenue, units or returns; a select re-sorts the bars and announces the new order.

Classic Navy Corporate Homepage – free Bootstrap 6 home page template

Classic Navy Corporate Homepage

Classic corporate company homepage in navy and gold with a centered photo hero, service tabs, key figures, case studies, leadership, FAQ and a validated contact form.

Music Player with Album Art and Playlist – free Tailwind CSS music player template

Music Player with Album Art and Playlist

Dark Tailwind CSS music player with large album art, a blurred cover backdrop, transport controls, seek and volume sliders and a clickable playlist.

Barbershop Homepage – free Bootstrap 5 home page template

Barbershop Homepage

Barbershop homepage with a hot towel shave price list, barber profiles, open-now hours and an online booking form with time slots for a barber shop website.

Marketplace Footer with Seller and Buyer Columns – free Tailwind CSS footer template

Marketplace Footer with Seller and Buyer Columns

Marketplace website footer with separate buy and sell columns, a help center search that filters popular articles, trust and safety links, app links and a region select.

Nested Multi-Level Dropdown – free Pure CSS dropdown template

Nested Multi-Level Dropdown

Dark navigation bar with a three-level dropdown: flyout submenus on desktop, an inline accordion on mobile, plus hover, click and full keyboard support.

Traveler Profile with Visited Countries – free Pure CSS mobile profile screen template

Traveler Profile with Visited Countries

Traveler profile screen with trip stats, a visited countries list with CSS flags and region filter, a trip timeline and an edit profile bottom sheet.

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.