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

Latest components

Real Estate Hero with Featured Listing – free WordPress hero section template

Real Estate Hero with Featured Listing

A real estate hero section with a full-width house photo, dark gradient overlay, headline, two buttons and a white featured property listing card with price, beds, baths and area.

Size Guide Popup for Shopify – free Shopify product detail page template

Size Guide Popup for Shopify

Shopify section: a Size guide link on product pages that opens an accessible dialog with a size chart from blocks, a cm / in toggle and how-to-measure notes.

Collapsible Icon Sidebar – free Bootstrap 6 sidebar template

Collapsible Icon Sidebar

Light glass-style Bootstrap 6 sidebar that collapses to an icon rail with the Toggler component, shows tooltips for icons while collapsed and remembers its state.

Admin Sidebar with Collapsible Menu – free Bootstrap 6 sidebar template

Admin Sidebar with Collapsible Menu

Dark Bootstrap 6 admin sidebar with icons, badges and collapsible nested menu sections that turns into a Drawer on mobile, with an account menu.

Invoice Table – free Bootstrap 6 table template

Invoice Table

Bootstrap 6 invoice table on a paper-style sheet with editable quantities, taxable and exempt line items, a discount, a selectable tax rate and live totals.

Musician Profile with Tracks and Follow – free Bootstrap 6 mobile profile screen template

Musician Profile with Tracks and Follow

Musician profile screen for music apps with a cover photo, follow button and live follower count, tracks, albums and tour tabs, and a mini player.

Pie Chart with Percentage Legend – free Bootstrap 6 chart template

Pie Chart with Percentage Legend

Budget pie chart with a percentage legend table: SVG slices drawn from a data array, and clicking a slice or category row pulls the slice out.

Alerts with Action Buttons – free Tailwind CSS alert template

Alerts with Action Buttons

Dark Tailwind CSS alerts with a title, description, primary and secondary actions, loading states, dismiss buttons and a restore option.

Segmented Progress Bar – free Bootstrap 5 progress bar template

Segmented Progress Bar

Dark Bootstrap 5 stacked progress bar split into colored segments, with tooltips, percentages and a legend that highlights each part.

Mobile Accordion Footer with Back to Top – free Pure CSS footer template

Mobile Accordion Footer with Back to Top

Responsive footer whose four link columns collapse into accordion sections on phones, with a region and currency select, a smooth back to top button and a legal row.

Bookstore App Home with Reading Shelf – free Pure CSS mobile home & feed template

Bookstore App Home with Reading Shelf

Bookstore app home screen with a currently reading card and progress sheet, genre chips, a bestseller row of CSS book covers, add-to-bag buttons and a bottom tab bar.

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.