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

Latest components

Law Firm Hero with Practice Areas – free WordPress hero section template

Law Firm Hero with Practice Areas

A centered navy law firm hero section with a consultation button, a call button and four practice area cells for family, business, real estate and employment law.

Ingredients and Benefits Section for Shopify – free Shopify product detail page template

Ingredients and Benefits Section for Shopify

Shopify section for beauty and food stores: key ingredient cards with icon or image and benefit, a free-from tag row and the full INCI list in a toggle.

Tabs with Icons – free Bootstrap 6 tabs template

Tabs with Icons

Bootstrap 6 nav tabs with outline icons that turn filled when active, count badges, fading panels and arrow-key navigation, in a project card.

Notifications Dropdown – free Bootstrap 6 dropdown template

Notifications Dropdown

Dark Bootstrap 6 bell Menu with unread count, unread dots, All/Unread filter, relative timestamps and a mark all as read button.

Multi-Line Chart with Range Tabs – free Bootstrap 6 chart template

Multi-Line Chart with Range Tabs

SVG multi-line chart comparing organic, paid and email traffic, with 7 day, 30 day and 12 month tabs, legend toggles and a crosshair tooltip.

User Account Menu – free Bootstrap 6 dropdown template

User Account Menu

Bootstrap 6 avatar Menu with a profile header, presence status submenu, account links, a dark mode switch and sign out.

Split Hero Corporate Homepage – free Bootstrap 6 home page template

Split Hero Corporate Homepage

Corporate homepage with a split hero, floating key-figure card, services, stepper process, filterable case studies, team, FAQ and contact form for a modern business website.

Sparkline KPI Row – free Pure CSS chart template

Sparkline KPI Row

Sparkline KPI row with four stat tiles, change badges and SVG sparklines that redraw when a 7d, 30d or 90d range is picked, with keyboard and touch tooltips.

Load More Button with Item Counter – free Tailwind CSS pagination template

Load More Button with Item Counter

Tailwind CSS load more button that reveals a grid in batches and shows a live "Showing X of Y" counter with a progress bar.

Hair Salon Homepage – free Bootstrap 5 home page template

Hair Salon Homepage

Elegant hair salon website homepage with a tabbed price menu for cuts and color, stylist team, gallery, reviews, live opening hours and an appointment booking form.

Dating App Sign Up with Photo Upload – free Tailwind CSS mobile login & sign up template

Dating App Sign Up with Photo Upload

Dating app sign up screen with first name, birthday age check, a six-slot photo upload grid with previews and a step progress bar for profile onboarding.

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.