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

Latest components

Contact Section with Office Details – free WordPress contact section template

Contact Section with Office Details

A contact section with office details: address, phone, email and opening hours beside an office photo, with Call us and Get directions buttons for Gutenberg.

Datepicker Input – free Bootstrap 6 date picker template

Datepicker Input

Bootstrap 6 Datepicker on a delivery form input with min and max dates relative to today, closed Sundays, a time-window picker, validation and a simulated booking.

Toggler Button Demos – free Bootstrap 6 toggle & switch template

Toggler Button Demos

Four Bootstrap 6 Toggler demos on a dark panel: a favorite heart, a read-more expander, a light/dark theme preview and a grid/list view switch, all with data attributes.

Settings Panel with Switches – free Bootstrap 6 toggle & switch template

Settings Panel with Switches

Bootstrap 6 notification settings panel with switches grouped in cards, master switches per group, a pause-all toggle, unsaved-change tracking and a simulated save.

Budget App Onboarding with Spending Goals – free Bootstrap 6 onboarding screen template

Budget App Onboarding with Spending Goals

Budget app onboarding screen with a welcome step, spending goal chips, a savings target stepper and an optional bank connect sheet: a mobile finance app setup flow.

Neumorphic Toggle Switch – free Pure CSS toggle & switch template

Neumorphic Toggle Switch

Pure CSS neumorphic toggle switches with inset shadow tracks, raised knobs and glowing indicators, built on accessible native checkboxes.

Footer with Instagram Photo Grid – free Bootstrap 5 footer template

Footer with Instagram Photo Grid

Dark teal Bootstrap 5 footer with brand blurb, social icons, two link columns and a six-photo Instagram-style grid with hover like counts.

Button and Inline Loaders – free Tailwind CSS loader & spinner template

Button and Inline Loaders

Tailwind CSS loading states for buttons, inputs and inline text: ring and arc spinners, bouncing dots, a progress line and a deploy status pill.

Image Clipped Text with Photo Fill – free Pure CSS text effect template

Image Clipped Text with Photo Fill

Large pure CSS heading filled with a slowly panning mountain photo through background-clip text, with a solid color fallback.

Pagination with Items Per Page Selector – free Bootstrap 5 pagination template

Pagination with Items Per Page Selector

Dark Bootstrap 5 orders table with a rows-per-page select, live range text and windowed pagination with ellipsis and prev/next buttons.

Sleep Tracker Onboarding with Bedtime Picker – free Pure CSS onboarding screen template

Sleep Tracker Onboarding with Bedtime Picker

Sleep tracker onboarding screen with a bedtime and wake time picker, a 24-hour sleep dial that computes sleep duration, and a notification opt-in step.

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.