HTML · CSS · JAVASCRIPT

Free HTML, CSS, and JavaScript UI Templates

Find your piece.
Make it yours.

Show your project in a device mockup, present products in a carousel, or build a portfolio gallery. Try the controls and download the source code.

19 templates to customize

Free · No signup · Source code included

Which one fits your idea?Compare use cases, customization options, and source code.
Compare all web templates
TemplateBest forCustomizeCode
Interactive HTML, CSS and JavaScript CarouselBrowsing a creative collectionText, optional link, accent, and layoutHTML + CSS + JS
Progress & Depth CarouselShowcasing four products with depthProducts, images, colors, and timingHTML + CSS + JS
Expanding Panel GalleryExploring five landscapes or projectsText, photos, framing, depth, and layoutHTML + SVG + CSS + JS
3D Glass Card LabGiving an idea depthText, brand palette, layers, and tiltHTML + CSS + JS
Glass Product CardsShowcasing products and trying a selectionContent, finishes, prices, light, and tiltHTML + CSS + JS
Six CSS Card Hover EffectsCreating and comparing six interactionsText, link, palette, intensity, timing, and shapeHTML + CSS + JS
Creative Profile CardPresenting an identity and expandable projectsPortrait, framing, two layouts, projects, and vCardHTML + SVG + CSS + JS
Glassmorphism Social Media ButtonsFive social linksLinks, icons, and colorsHTML + CSS
Layered Social Buttons with CSS Hover EffectsThree layered linksLinks, icons, and color layersHTML + CSS
Animated SVG IconsInterface signals and actionsColor, finish, size, stroke, and triggerSVG + CSS · Editor JS
Animated CSS ScenesTelling six ideas through animated illustrationText, accent, pace, and intensity per sceneHTML + SVG + CSS · JS
Glass Navigation StudioNavigating five useful destinationsIcons, links, orientation, filters, and favoritesHTML + CSS + JS
Context Menu for CardsAdding actions to catalog cards⋯ menu, custom images, favorites, and undoHTML + SVG + CSS + JS
Web Hero Images with ParticlesCreating a web hero image and trying particles16:9 hero image, local upload, PNG, and interactive effectHTML + CSS + JS · WebGL 2
Responsive Device MockupComparing a walkthrough on laptop and phoneScreenshots, MP4, framing, and action markersHTML + CSS + JS
Interactive Phone PrototypeTrying an app flowScreens, notification, and hotspotsHTML + CSS + JS
Perspective Laptop MockupPresenting a recording on a laptopMP4 or still image, framing, and playbackHTML + CSS + JS
Floating Record Music PlayerPresenting a track with a cover and recordLocal music, cover, and queueHTML + CSS + JS
Stacked Album Cover CarouselShowcasing a collection of tracksAudio files, track order, and continuous playbackHTML + CSS + JS

The social buttons work with HTML and CSS; their demo theme controls use JavaScript. These are UI pieces, not complete websites or installable themes. Product cards do not process orders or payments.

Free Carousel and Gallery Templates

Preview two free JavaScript carousel templates and an expanding photo gallery. Customize any template in your browser, then download the HTML, CSS, and JavaScript source as a ZIP.

Categories

Collection, depth, and editing

Interactive HTML, CSS and JavaScript Carousel

Organize a portfolio or resource library with search, filters, favorites, and a choice of carousel or grid view.

  • HTML + CSS + JS
  • ZIP · 280 KB
Guide and credits

Original design, illustrations, and code by Lienzo. Read the guide. MIT license included.

The product takes center stage

Progress & Depth Carousel

Showcase products with drag controls, keyboard navigation, a progress indicator, and optional autoplay.

  • HTML + CSS + JS
  • ZIP · 327 KB
Guide and credits

Lienzo edition prepared for the collaboration with MD Estudio Creativo. New MIT code; references and font notices documented in the ZIP. Read the guide.

Five worlds. One canvas.

Expanding Panel Gallery

Display photos or projects in five expanding panels. Replace the sample images with your own.

  • HTML + CSS + JS
  • ZIP · 727 KB
Guide and credits

Original Lienzo implementation with local fonts and an integration guide. Visual references and notices are documented in the ZIP. Read the guide.

Build a carousel from scratch · Watch the two-template walkthrough (Spanish audio)

Cards

Highlight an idea, present a product, or add a purposeful interaction.

Categories

Glass, light, and identity

3D Glass Card Lab

Six forms with layered glass, relief, and 3D tilt. Customize each card with the Lienzo palette, test its depth, and export your design. Includes a navigable focus deck.

  • HTML + CSS + JS
  • ZIP · 369 KB
Guide and credits

Lienzo edition prepared for the collaboration with MD Estudio Creativo. New MIT code; references and font notices documented in the ZIP. Read the guide.

Light, finishes, and customization

Glass Product Cards

Three products with detailed SVG artwork, animated light borders, and tilt. Finishes, favorites, detailed views, quantity selection, and a per-card editor. Export working HTML.

  • HTML + CSS + JS
  • ZIP · 493 KB
Guide and credits

Lienzo edition prepared for the collaboration with MD Estudio Creativo. New MIT code; references and font notices documented in the ZIP. Read the guide.

Motion with purpose

Six CSS Card Hover Effects

Neon glow, lift, sweep/reveal, 3D tilt, gradient, and float. Customize each card, compare before and after, and export working HTML. Try pointer, keyboard, or touch.

  • HTML + CSS + JS
  • ZIP · 336 KB
Guide and credits

Lienzo edition prepared for the collaboration with MD Estudio Creativo. New MIT code; references and font notices documented in the ZIP. Read the guide.

Identity you can see. Work you can explore.

Creative Profile Card

An editorial portfolio with a monogram, locally framed portrait, expandable projects, and flexible layouts. Customize your story, images, and links; export the HTML and your vCard contact.

  • HTML + CSS + JS
  • ZIP · 256 KB
Guide and credits

Original Lienzo implementation with local fonts and an integration guide. Visual references and notices are documented in the ZIP. Read the guide.

Social buttons

Connect your profiles with two takes on glass and depth.

Categories

Reflection and lift

Glassmorphism Social Media Buttons

Add five social links with a CSS glass effect, reflections, and lift on hover or keyboard focus. Change destinations and accessible labels in index.html, then adjust colors and spacing in styles.css.

  • HTML + CSS
  • ZIP · 128 KB
Guide and credits

Adaptation and guide: Lienzo. Read the guide. MIT license included.

Color and depth

Layered Social Buttons with CSS Hover Effects

Give three social links color and depth with layered CSS hover effects. Edit each destination and label in index.html; adjust the --tile color and .layers rules in styles.css to fit your brand.

  • HTML + CSS
  • ZIP · 127 KB
Guide and credits

Adaptation and guide: Lienzo. Read the guide. MIT license included.

Icons and scenes

SVG gestures and CSS illustrations for your next idea.

Categories

Twelve gestures for your interface

Animated SVG Icons

Twelve SVGs with individual gestures and independent color, finish, size, stroke, and trigger settings. Compare rest and motion; export an animated SVG, static SVG, or your customized collection.

  • HTML + CSS + JS
  • ZIP · 178 KB
Guide and credits

Lienzo edition prepared for the collaboration with MD Estudio Creativo. New MIT code; references and font notices documented in the ZIP. Read the guide.

Illustration, detail, and motion

Animated CSS Scenes

Six interface scenes with distinct moving parts: code, speed, live content, devices, connections, and ideas. Customize each composition and download a standalone scene.

  • HTML + CSS + JS
  • ZIP · 261 KB
Guide and credits

Original Lienzo implementation with local fonts and an integration guide. Visual references and notices are documented in the ZIP. Read the guide.

Visual effects

Images that transform and respond to movement.

Categories

Image studio

Web Hero Images with Particles

Create a 16:9 hero with your own image or the sample landscape. Particles rise from the image and follow your pointer.

  • HTML + CSS + JS
  • ZIP · 496 KB
Guide and credits

Original Lienzo implementation with local fonts and an integration guide. Visual references and notices are documented in the ZIP. Read the guide.

Devices

Show how an interface looks on screens of different sizes.

Categories

Responsive presentation

Responsive Device Mockup

Show a project on a laptop and phone with screenshots or MP4 clips. Mark the same action in two recordings and compare how it looks on each screen.

  • HTML + CSS + JS
  • ZIP · 868 KB
Guide and credits

Original Lienzo implementation with local fonts and an integration guide. Visual references and notices are documented in the ZIP. Read the guide.

Interaction design

Interactive Phone Prototype

Try a mobile flow from the lock screen into an app. Replace the screenshots and configure hotspots to make your own design interactive.

  • HTML + CSS + JS
  • ZIP · 525 KB
Guide and credits

Original Lienzo implementation with local fonts and an integration guide. Visual references and notices are documented in the ZIP. Read the guide.

Interactive 3D laptop

Perspective Laptop Mockup

Orbit the laptop 360° and display an MP4 or screenshot on its screen. Adjust the framing and save the project for offline viewing.

  • HTML + CSS + JS
  • ZIP · 2256 KB
Guide and credits

Original Lienzo implementation with local fonts and an integration guide. Visual references and notices are documented in the ZIP. Read the guide.

Audio

Play music on a floating record or browse a cover stack with your own tracks.

Categories

Spinning disc, cover art, and playback

Floating Record Music Player

Play music in a floating player with a spinning record, cover-based ambience, and a revealable track panel. Customize the queue with your own audio and artwork.

  • HTML + CSS + JS
  • ZIP · 1744 KB
Guide and credits

Original Lienzo code under MIT. Recordings and photography are credited inside the ZIP. Read the guide.

Cover stack and synchronized playlist

Stacked Album Cover Carousel

Browse a stack of covers linked to the active playlist. Add local music, organize favorites, and control volume, seeking, and playback order.

  • HTML + CSS + JS
  • ZIP · 1777 KB
Guide and credits

Original Lienzo code under MIT. Recordings and photography are credited inside the ZIP. Read the guide.

Explore the Audio Lab

Each ZIP includes source code, local fonts, a guide, and licenses. Extract it and open index.html: no packages to install.

Open, customize,
make it yours.

  1. Try before you download.Switch between desktop and mobile previews, and try the light and dark themes. Use your keyboard, the arrows, or the demo controls.
  2. Open the ZIP on your computer.Extract the entire folder and open index.html. No packages to install: the HTML, CSS, and JavaScript files are included.
  3. Customize the content.Use the demo editor when available, or edit index.html and the included CSS files. Each ZIP’s README.md explains its files and how to integrate the component.
  4. Keep the credits.The code is provided under MIT. Keep the copyright notices and license texts when redistributing it. Replace the sample logo with your own.

Choose a template for your project

Build a portfolio gallery

Use the Expanding Panel Gallery to give each project a photo, a short description, and a link to the full case study. Replace the sample images in the demo, then check how the panels open on a phone and with a keyboard.

Show a product collection

Use the Progress & Depth Carousel for four products you want visitors to browse in sequence. Swap in your own photos and names, then check the progress indicator and how much of the next product is visible on a narrow screen.

Add social links with HTML and CSS

Try the Glassmorphism Social Media Buttons for five links or the Layered Social Buttons for three. Edit the destinations and accessible labels in index.html. The button effects use HTML and CSS. JavaScript switches the theme in the demo.

Once you have a starting point, follow the complete ZIP-to-website example to keep styles, scripts, and assets connected.

A practical starting point

From the ZIP to your own page

Follow this example with the Creative Resource Carousel. First open and customize the complete template; then decide whether to show it as a separate page, embed it, or adapt its code to your site.

1. Keep the complete folder

Extract the entire ZIP. Inside carrusel-recursos/, open index.html. Keep styles.css, script.js and assets/ in place, together with editor-workspace.css/js, editor-legacy.css/js and template-brand.css/js. These paired names refer to a separate CSS file and JavaScript file. Keep the included README and license notices too.

The entry HTML uses relative paths. Moving only that file can break the layout, fonts, artwork or controls. Other templates may have different files: follow the README in the ZIP you actually download.

2. Customize and save your version

Use Edit card for the text and links, and Settings for your colors and fonts. Replace the sample logo and destination links with your own. Check both light and dark themes before saving.

In this carousel, Code opens a complete HTML document with your changes. Save that export next to the original template files. The exported HTML is not a self-contained file: it still needs the ZIP dependencies. Keep a copy of the original before replacing index.html. Temporary search, filter and favorite selections are not a saved user account.

3. Try a complete HTML integration example

Inside your own project, create componentes/ and copy the extracted carrusel-recursos/ folder into it. Keep the Spanish folder name in this example: it is a file path, not interface text. Create your host page alongside componentes/:

my-site/
  index.html
  componentes/
    carrusel-recursos/
      index.html
      styles.css
      script.js
      assets/
      ...

Use this for the host index.html. The dots in the folder tree stand for the other files already included in the ZIP; do not create a file named ....

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>My resource collection</title>
  <style>
    .lienzo-template { display: block; width: 100%; height: 40rem; border: 0; }
  </style>
</head>
<body>
  <h1>My resource collection</h1>
  <iframe class="lienzo-template"
    src="./componentes/carrusel-recursos/index.html"
    title="Creative resource carousel" loading="lazy"></iframe>
</body>
</html>

This embeds the complete template page, including its controls, inside a separate document. It keeps that document's CSS separate from the host page. The frame has a fixed 40rem height, so it may scroll internally; adjust the height for your actual content. It does not resize automatically or turn the template into a native site component.

If you saved a different filename in step 2, update src. Upload the host page and the complete dependency folder together. Test their relative paths on a local development server and again at the final hosted URL.

4. Fix the common integration problems
The page opens without styling or fonts
Check the CSS and assets/ paths from the template's own folder. Filenames and capitalization must match the files you upload.
The design loads, but its controls do nothing
Confirm that the JavaScript files were copied too. Keep the carousel's data-resource-carousel wrapper, controls and dialogs together.
I want to integrate it without an iframe
Adapt the component markup, variables, CSS and initialization to your project. Scope global rules such as body to your own container and use distinct IDs if you include multiple instances. Copying a complete HTML document into another document's body is not this adaptation.
I use WordPress or React
The ZIP is neither an installable WordPress theme nor a ready-made React component. Your platform must allow the required markup, assets and scripts. Plan a platform-specific adaptation and test it there; the HTML example above does not verify those integrations.

Keep the included code and font license notices. Technical references: iframe on MDN and relative paths.

What has Lienzo improved?

The buttons use local SVG icons instead of Font Awesome, with accessible names, visible keyboard focus, and reduced-motion styles. File paths and HTML structure have been corrected. Lienzo built the carousel with native scrolling, keyboard navigation, previous/next buttons, a position indicator, and a favorites filter.

Can I use these on a commercial website?

The included code is distributed under MIT, with the notices preserved in each ZIP. Fonts have their own OFL licenses. Read those files and keep the required notices when redistributing. Social platform logos and the sample logo retain their trademark rights.

Do these work with React, WordPress, or plain HTML?

These are standalone HTML, CSS, and JavaScript files. Open the demo directly or integrate the code into your project. In React, adapt attributes to JSX and manage event listeners through the component lifecycle. In WordPress, use an area that allows custom HTML, CSS, and scripts. The ZIP is not an installable WordPress theme.

Preview

Interactive demo · code included in the ZIP

Download ZIP ↓
Help and full demo

Try the template controls. Mobile preview simulates a width of up to 390 px. Open demo in a new tab ↗