Skip to content
Brok UI

Loading…

No results

Maintenance Page

Open source

A full-screen maintenance / coming-soon notice — a centered icon, heading, message and CTAs above a pinned minimal footer. Repurpose the copy for pre-launch coming-soon use.

Responsive Dark mode RTL Localized SEO

Preview

resources/views/pages/maintenance-page.blade.php Blade
@props([])

{{-- Maintenance / coming-soon page — a full-screen centered notice above a
     pinned minimal footer. Swap the copy + CTAs for "coming soon" pre-launch use. --}}
<div data-slot="page-maintenance" class="flex min-h-screen flex-col bg-background text-foreground">
    <main class="flex flex-1 flex-col items-center justify-center px-4 py-16 text-center">
        <div class="mx-auto w-full max-w-lg">
            <span class="mx-auto flex size-14 items-center justify-center rounded-lg border border-border bg-card text-primary shadow-sm" aria-hidden="true">
                <svg class="size-7" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                    <path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76Z" />
                </svg>
            </span>

            <h1 class="mt-6 text-balance text-3xl font-semibold tracking-tight text-foreground sm:text-4xl">
                {{ __("We'll be right back") }}
            </h1>
            <p class="mt-4 text-pretty text-base text-muted-foreground">
                {{ __("We're performing scheduled maintenance to make things better. The site will be back online shortly — thanks for your patience.") }}
            </p>

            <div class="mt-8 flex flex-wrap items-center justify-center gap-4">
                <x-ui.button href="/status">{{ __('Check status') }}</x-ui.button>
                <x-ui.button href="mailto:support@example.com" variant="outline">{{ __('Contact support') }}</x-ui.button>
            </div>
        </div>
    </main>

    <x-blocks.footer-minimal brand="Acme" brandHref="/" />
</div>

Installation

terminal
php artisan ui:add pages/maintenance-page

Installs these dependencies automatically:

Registry contract

Install confidence

php artisan ui:add pages/maintenance-page writes only the generated targets below. The CLI validates each file hash before writing and prompts before replacing local changes unless --force is used.

Version
1.0.4
License
open
Stability
stable
Contract
v1
Foundation
≥ 1.0.0
Type Generated target
blade resources/views/pages/maintenance-page.blade.php

Registry dependencies

button blocks/footer-minimal

Package dependencies

composer: jml/brok:^0.2

Use with AI

A brief for your coding agent: what the page is, the install command, how to render it, its props and the rules. Copy it, or open a prompt about this page in an assistant.

maintenance-page.md
# Brok UI page: Maintenance Page (`maintenance-page`)

A full-screen maintenance / coming-soon notice — a centered icon, heading, message and CTAs above a pinned minimal footer. Repurpose the copy for pre-launch coming-soon use.

Brok UI is a Laravel Blade registry. `ui:add` copies this page into the app as plain Blade the app owns; it composes installed `<brok:*>` primitives and semantic design tokens.

## Install

```bash
php artisan ui:add pages/maintenance-page
```

## Render it

```blade
<x-pages.maintenance-page />
```

## Use when

- A full-screen maintenance or coming-soon notice: a centered icon, heading, message and calls to action above a pinned minimal footer.
- It composes the button primitive inline and blocks/footer-minimal; repurpose the copy for a pre-launch coming-soon notice.

## Avoid when

- Needing an email-capture form for pre-launch signups; compose the waitlist block into a page instead.

## Rules

- Render the installed page with `<x-pages.maintenance-page />` and pass data through its props; edit the copied file only for structural changes.
- Keep the semantic design tokens (`bg-background`, `text-muted-foreground`); never swap in raw colour utilities.
- Keep the `data-slot` attributes and the logical (start/end) spacing so the markup still mirrors under `dir="rtl"`.

## Links

- Docs: https://brokui.dev/pages/maintenance-page
- Registry JSON (files, props, contract): https://brokui.dev/r/open/pages/maintenance-page.json

Working in Claude Code, Cursor or Codex? Give the agent the whole registry through the MCP server or the Brok UI skill.

Guidance

Use when

  • A full-screen maintenance or coming-soon notice: a centered icon, heading, message and calls to action above a pinned minimal footer.
  • It composes the button primitive inline and blocks/footer-minimal; repurpose the copy for a pre-launch coming-soon notice.

Avoid when

  • Needing an email-capture form for pre-launch signups; compose the waitlist block into a page instead.

Anti-patterns

  • Do not replace semantic props with conflicting utility classes.
  • Do not remove labels, focus styles, or state attributes.
Anatomy
root page-maintenance

Usage

Render the page as a component, or wire it to a route. Pass data where useful:

resources/views/welcome.blade.php Blade
<x-pages.maintenance-page />

Built from blocks & primitives

This page composes installed <brok:*> primitives and semantic design tokens only — it does not reimplement any primitive. Re-theme it (light, dark, admin, customer) by editing CSS variables; flip the preview to RTL to confirm it mirrors.

Source

The exact, editable file ui:add writes into your app. The preview above renders this same source — there are no preview-only pages.

resources/views/pages/maintenance-page.blade.php Blade
@props([])

{{-- Maintenance / coming-soon page — a full-screen centered notice above a
     pinned minimal footer. Swap the copy + CTAs for "coming soon" pre-launch use. --}}
<div data-slot="page-maintenance" class="flex min-h-screen flex-col bg-background text-foreground">
    <main class="flex flex-1 flex-col items-center justify-center px-4 py-16 text-center">
        <div class="mx-auto w-full max-w-lg">
            <span class="mx-auto flex size-14 items-center justify-center rounded-lg border border-border bg-card text-primary shadow-sm" aria-hidden="true">
                <svg class="size-7" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                    <path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76Z" />
                </svg>
            </span>

            <h1 class="mt-6 text-balance text-3xl font-semibold tracking-tight text-foreground sm:text-4xl">
                {{ __("We'll be right back") }}
            </h1>
            <p class="mt-4 text-pretty text-base text-muted-foreground">
                {{ __("We're performing scheduled maintenance to make things better. The site will be back online shortly — thanks for your patience.") }}
            </p>

            <div class="mt-8 flex flex-wrap items-center justify-center gap-4">
                <x-ui.button href="/status">{{ __('Check status') }}</x-ui.button>
                <x-ui.button href="mailto:support@example.com" variant="outline">{{ __('Contact support') }}</x-ui.button>
            </div>
        </div>
    </main>

    <x-blocks.footer-minimal brand="Acme" brandHref="/" />
</div>

Ownership & lifecycle

Owner, release state, review evidence and adoption for this item.
Owner
Platform UI (@JoshJML)
Current version
1.0.4
Status
Stable
License
open
Deprecation
Not deprecated
Contract
v1
Foundation
≥ 1.0.0