Skip to content
Landing Pages Tailwind CSS 4 postcssswiperwow.jsanimate.css

Tailwind CSS Landing Page with Dark Mode - Play

A free Tailwind CSS template for startups, SaaS and business sites, featuring dark mode and responsive design.

By TailGrids tailgrids/play-tailwind 1,158 stars

Introduction

Play is a free Tailwind CSS landing‑page template designed for startups, SaaS and business sites. It includes dark‑mode support, responsive layouts and several ready‑made pages such as home, about, pricing, blog and contact.

What this project offers

  • A complete set of static HTML pages that can be used immediately.
  • Dark‑mode toggle that works out of the box.
  • Responsive design that adapts to mobile, tablet and desktop screens.
  • Pre‑styled components built with Tailwind CSS 4, including a hero section, pricing tables, blog grid and contact form.

Main features

  • Dark mode
  • Responsive layout
  • Multiple ready‑made pages (home, about, pricing, blog‑grid, blog‑details, contact, sign‑in, sign‑up, 404)
  • Swiper slider integration (assets/css/swiper‑bundle.min.css, assets/js/swiper‑bundle.min.js)
  • WOW.js scroll animations (assets/js/wow.min.js) and Animate.css (assets/css/animate.css)

Technology stack

  • Tailwind CSS 4
  • PostCSS 8.5.3
  • Swiper.js (CSS & JS)
  • WOW.js
  • Animate.css
  • Plain HTML, CSS and JavaScript (no framework)

Requirements

  • A modern web browser for viewing the pages.

Installation

  1. Download and extract the project archive.
# Assuming the ZIP file is in your Downloads folder
cd ~/Downloads
unzip play-tailwind.zip -d play-tailwind
  1. Open the landing page in a browser.
# Change to the project folder
cd play-tailwind
# Open the main page (adjust the command for your OS)
open index.html          # macOS
xdg-open index.html      # Linux
start index.html         # Windows
  1. Optional – run the Tailwind development watcher (only needed if you want to modify Tailwind source).
npm install               # install dev dependencies
npm run dev               # watches src/input.css and outputs src/css/tailwind.css

The watcher writes the compiled CSS to src/css/tailwind.css. The HTML files already reference this file, so any changes are reflected when you refresh the browser.

Configuration

The template does not require any configuration to run. If you edit Tailwind styles, the only file that is processed is src/input.css. The compiled result is stored in src/css/tailwind.css. No additional build step is required for the static pages.

Customizing the project

  • Change colors or spacing: edit src/input.css and use Tailwind utility classes.
  • Add or modify pages: copy an existing .html file, rename it, and update the navigation links in the header.
  • Swap images: replace files in assets/images/ with your own assets, keeping the same filenames or updating the <img> src attributes.
  • Adjust scripts: the main JavaScript file is assets/js/main.js. You can add custom code there or replace it with your own script.

Project structure

404.html
about.html
blog-details.html
blog-grids.html
contact.html
index.html
pricing.html
signin.html
signup.html
assets/
  css/
    animate.css
    swiper-bundle.min.css
  images/
    … (23 image files)
  js/
    main.js
    swiper-bundle.min.js
    wow.min.js
src/
  css/
    tailwind.css
  input.css
package.json
README.md
LICENSE

Tips

  • Open any HTML file directly in the browser to test a specific page (e.g., contact.html).
  • When editing Tailwind utilities, run npm run dev in a separate terminal so the CSS file updates automatically.
  • Use the dark‑mode toggle in the UI to verify that both light and dark themes render correctly.

License and attribution

Play is released under the MIT License. See the full license file at the repository: https://github.com/tailgrids/play-tailwind/blob/main/LICENSE. When redistributing the template, keep the LICENSE file and retain the original copyright notice. Credit the author (TailGrids) as required by the license.