Skip to content

Coming Soon Page with Progress Bar

Dark under-construction page in Tailwind CSS with an animated launch progress bar, milestone checklist and email notify form.

Also known as: under construction page, website launch countdown page, site under maintenance page, upcoming launch landing page

Coming Soon Page with Progress Bar live demo

Open in new tab

Tailwind CSS code (HTML, CSS, JS)

A dark "under construction" page built with Tailwind CSS that shows how close a relaunch is: a striped launch progress bar, a milestone list that marks finished, current and planned work, and an email form for launch notifications. Use it as a temporary landing page while a product, store or site is being rebuilt.

How it works

The root is .tcp-page, a full-height main element with the data-tcp-progress attribute. Behind the content, .tcp-grid draws a faint blueprint grid with two linear gradients and a radial mask. On large screens the layout is two columns (intro and form on the left, progress panel on the right); on phones they stack.

On DOMContentLoaded the script reads data-tcp-progress, clamps it to 0–100 and animates the .tcp-fill bar from zero to the target while the data-tcp-value number counts up. It also updates aria-valuenow and aria-valuetext on the role="progressbar" track. Each milestone li.tcp-step has a data-tcp-at threshold: steps at or below the progress get data-state="done", the first unfinished step becomes current (with aria-current="step"), and the rest are upcoming. The data-tcp-tag label is filled with Done, In progress or Planned, and style.css styles the .tcp-dot circle for each state.

The notify form (data-tcp-form) validates the email, shows errors in the role="status" message, and simulates saving with a short setTimeout. Replace that timeout with a fetch() call to your mailing list provider. Without JavaScript the bar still shows the static w-[72%] width.

Customization

  • data-tcp-progress on .tcp-page: set the completion percentage; the bar, number and milestone states all follow it.
  • data-tcp-target on .tcp-page: the launch date (YYYY-MM-DD) shown in data-tcp-date; when empty or past, DEFAULT_DAYS from today is used.
  • data-tcp-at on each .tcp-step: change the percentage at which a milestone counts as done, or add and remove list items.
  • --tcp-accent in style.css: swap the lime accent of the bar fill and done dots; also replace the lime-300 utilities in the markup.
  • --tcp-stripe in style.css: adjust the contrast of the moving construction stripes, or remove the animation on .tcp-fill for a static bar.
  • lg:grid-cols-[1.1fr_1fr] on the inner grid: change the column ratio between the intro and the progress panel.

Use cases

  • Product relaunches: a striped progress bar shows visitors how close the new site is to going live
  • Online stores in rebuild: a milestone list marks finished, current and planned work while the shop is updated
  • Temporary landing pages: visitors leave an email in a notify form to hear when the launch happens
  • Agency client sites: a dark full-page layout holds the place of a site that is still in development

Accessibility

The bar is a real role="progressbar" labelled by the panel heading, with aria-valuetext such as "72% complete". The large animated number is aria-hidden to avoid duplicate announcements. Milestone status is written as visible text, and the current step carries aria-current="step". The email field has a visible label, aria-invalid on errors and an aria-describedby link to the live status message. Buttons and inputs have visible focus rings. Under prefers-reduced-motion: reduce the bar and counter jump straight to their final values and the stripes stop moving.

Usage notes

The script initializes every .tcp-page on the page; give extra instances unique id values for the label and input. This is a full-page template meant to be the only content of the page.

Coming Soon Page with Progress Bar at a glance

Framework
Tailwind CSS
Code
HTML, CSS, JavaScript
JavaScript
Vanilla JavaScript, no jQuery
Dependencies
Tailwind CSS
Layout
Responsive, works on mobile, dark design
Category
Coming Soon
License
Free for personal and commercial use

Questions about this template

Can I use the Coming Soon Page with Progress Bar code for free?

Yes. You can copy or download the code and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.

How do I add it to my website?

Load Tailwind CSS from a CDN (the links are under Requirements). Paste the HTML where the component should appear, add the CSS to your stylesheet and load the JavaScript before the closing </body> tag. Download HTML gives you a complete page with everything already linked.

Does it need jQuery or a JavaScript framework?

No. The script is plain vanilla JavaScript, so it works without jQuery, React or Vue. You can still use the markup inside those frameworks.

Does it work on mobile?

Yes. The layout adapts to small screens. Use the Mobile and Tablet buttons above the live demo to check it at phone and tablet width.

Requirements

Add these to your page (already included in the download):

  • <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>

The Tailwind browser build is for prototyping. In production, compile Tailwind with its CLI or your bundler.

Coming Soon Page with Progress Bar – free Tailwind CSS coming soon page template
Coming Soon Page with Progress Bar · free Tailwind CSS coming soon page template

More Coming Soon

Coming Soon Page with Background Image – free Pure CSS coming soon page template

Coming Soon Page with Background Image

Full-screen coming soon page over a night-sky photo with a live launch countdown, email signup with validation and social links.

Bootstrap Coming Soon Page – free Bootstrap 5 coming soon page template

Bootstrap Coming Soon Page

Bootstrap 5 coming soon page with a live countdown from a data attribute, an email notify form with validation and social links in a centered card.