Skip to content

Maintenance page in React

A page shown during maintenance, with the expected return time and ways to stay informed.

Here is an excerpt of this component's code in React. The full code is free for members, ready to copy into your project.

This component also comes in

Open in a new tab

The code in React

MaintenancePage.tsx
export function MaintenancePage() {
  return (
    <div className="mx-auto w-[min(100%_-_2rem,32rem)] py-12">
      <div className="grid justify-items-center gap-3.5 text-center">
        <div
          aria-hidden="true"
          className="mb-2 grid size-20 -rotate-6 place-items-center rounded-3xl bg-yellow-300 text-yellow-950 dark:bg-[#3f340a] dark:text-yellow-300"
        >
          <svg
            viewBox="0 0 24 24"
            width="40"
            height="40"

Free component: copy it freely, including for commercial projects.

Error pages components in React
  • A ready-to-publish changelog page: dated, versioned notes grouped by month, each with a type badge (new, improvement, fix), module tags and filters that announce how many notes are shown.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Ready-to-fill terms of sale for a showcase site selling to consumers: seller, ordering, prices, delivery, withdrawal with a copyable form, statutory warranties and mediation, with 26 highlighted fields to complete and a side table of contents that follows the reader.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A ready-to-fill GDPR privacy policy for a showcase site: controller, data collected, purposes, retention periods, recipients, rights and cookies, with 24 highlighted fields to complete and a side table of contents that follows the reader.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A ready-to-fill French legal notice page: publisher, host, SIRET, contact, intellectual property and personal data, with 16 highlighted fields to complete and a side table of contents that follows the reader.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • The page shown after a quote request or contact message: clear confirmation, announced response time, printable summary, next steps and useful links.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A clean not-found page with a large error code, a search field and links to the main sections.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component