Skip to content
Brok UI

Loading…

No results

Waitlist

Open source

Centered waitlist capture section with a Coming soon badge, heading, lead, inline email form, and avatar-stack social proof.

Responsive Dark mode RTL Localized SEO

Preview

resources/views/blocks/waitlist.blade.php Blade
@props([
    'eyebrow' => 'Coming soon',
    'heading' => 'Join the waitlist',
    'subheading' => "We're putting the finishing touches on something special. Add your email and be the first to get access when we launch — plus an early-bird discount.",
    'placeholder' => 'you@example.com',
    'cta' => 'Join waitlist',
    'action' => '#',
    'trust' => 'Join 2,000+ already on the list',
    'avatars' => null,
])

@php
    $avatars ??= [
        ['src' => null, 'name' => 'Avery Rowe'],
        ['src' => null, 'name' => 'Jordan Kim'],
        ['src' => null, 'name' => 'Mara Singh'],
        ['src' => null, 'name' => 'Theo Lane'],
        ['src' => null, 'name' => 'Nadia Frost'],
    ];
@endphp

<x-ui.section
    data-slot="waitlist"
    aria-labelledby="waitlist-01-heading"
    space="xl" {{ $attributes }}
>
    <div class="mx-auto max-w-2xl px-4 text-center">
        @if ($eyebrow)
            <x-ui.badge variant="secondary" class="mb-6">
                <span class="me-2 inline-block size-2 rounded-full bg-primary" aria-hidden="true"></span>
                {{ __($eyebrow) }}
            </x-ui.badge>
        @endif

        <h2 id="waitlist-01-heading" class="text-balance text-3xl font-bold tracking-tight sm:text-4xl">
            {{ __($heading) }}
        </h2>

        <p class="mx-auto mt-4 max-w-xl text-pretty text-lg text-muted-foreground">
            {{ __($subheading) }}
        </p>

        <form
            method="POST"
            action="{{ $action }}"
            class="mx-auto mt-10 flex max-w-md flex-col gap-4 text-start sm:flex-row"
        >
            @csrf

            <div class="flex-1">
                <x-ui.label for="waitlist-01-email" class="sr-only">{{ __('Email address') }}</x-ui.label>
                <x-ui.input
                    id="waitlist-01-email"
                    type="email"
                    name="email"
                    autocomplete="email"
                    required
                    :placeholder="__($placeholder)"
                    class="w-full"
                />
            </div>

            <x-ui.button type="submit" size="lg" class="w-full sm:w-auto">
                {{ __($cta) }}
            </x-ui.button>
        </form>

        <div class="mt-8 flex flex-col items-center justify-center gap-4 sm:flex-row">
            <x-ui.avatar-group :avatars="$avatars" :max="4" size="sm" />
            <p class="text-sm font-medium text-muted-foreground">{{ __($trust) }}</p>
        </div>
    </div>
</x-ui.section>

Installation

terminal
php artisan ui:add blocks/waitlist

Installs these dependencies automatically:

Registry contract

Install confidence

php artisan ui:add blocks/waitlist 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.5
License
open
Stability
stable
Contract
v1
Foundation
≥ 1.0.0
Type Generated target
blade resources/views/blocks/waitlist.blade.php

Registry dependencies

avatar-group badge button input label section

Package dependencies

composer: jml/brok:^0.2

Use with AI

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

waitlist.md
# Brok UI block: Waitlist (`waitlist`)

Centered waitlist capture section with a Coming soon badge, heading, lead, inline email form, and avatar-stack social proof.

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

## Install

```bash
php artisan ui:add blocks/waitlist
```

## Render it

```blade
<x-blocks.waitlist />
```

## Props

- `eyebrow` (string, default `Coming soon`) — Small label shown above the heading.
- `heading` (string, default `Join the waitlist`) — Section heading.
- `subheading` (string, default `We're putting the finishing touches on something special. Add your email and be the first to get access when we launch — plus an early-bird discount.`) — Supporting copy under the heading.
- `placeholder` (string, default `[email protected]`) — Email input placeholder text.
- `cta` (string, default `Join waitlist`) — Submit button label.
- `action` (string, default `#`) — Form submission endpoint.
- `trust` (string, default `Join 2,000+ already on the list`) — Trust line shown under the form.
- `avatars` (mixed|null, default `null`) — Avatar-stack entries; null falls back to sample data.

## Use when

- Capturing email signups for a pre-launch or coming-soon product with a centered form and avatar-stack social proof.
- Building this before a product or feature is publicly available.

## Avoid when

- Capturing leads for an already-live product's newsletter; use a contact or newsletter section instead.

## Rules

- Render the installed block with `<x-blocks.waitlist />` 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/blocks/waitlist
- Registry JSON (files, props, contract): https://brokui.dev/r/open/blocks/waitlist.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

  • Capturing email signups for a pre-launch or coming-soon product with a centered form and avatar-stack social proof.
  • Building this before a product or feature is publicly available.

Avoid when

  • Capturing leads for an already-live product's newsletter; use a contact or newsletter section instead.

Anti-patterns

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

Usage

Render the block as a component, passing data where useful:

resources/views/welcome.blade.php Blade
<x-blocks.waitlist />

Built from primitives

Composes <brok:*> Semantic tokens Re-themeable RTL-ready

This block 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 blocks.

resources/views/blocks/waitlist.blade.php Blade
@props([
    'eyebrow' => 'Coming soon',
    'heading' => 'Join the waitlist',
    'subheading' => "We're putting the finishing touches on something special. Add your email and be the first to get access when we launch — plus an early-bird discount.",
    'placeholder' => 'you@example.com',
    'cta' => 'Join waitlist',
    'action' => '#',
    'trust' => 'Join 2,000+ already on the list',
    'avatars' => null,
])

@php
    $avatars ??= [
        ['src' => null, 'name' => 'Avery Rowe'],
        ['src' => null, 'name' => 'Jordan Kim'],
        ['src' => null, 'name' => 'Mara Singh'],
        ['src' => null, 'name' => 'Theo Lane'],
        ['src' => null, 'name' => 'Nadia Frost'],
    ];
@endphp

<x-ui.section
    data-slot="waitlist"
    aria-labelledby="waitlist-01-heading"
    space="xl" {{ $attributes }}
>
    <div class="mx-auto max-w-2xl px-4 text-center">
        @if ($eyebrow)
            <x-ui.badge variant="secondary" class="mb-6">
                <span class="me-2 inline-block size-2 rounded-full bg-primary" aria-hidden="true"></span>
                {{ __($eyebrow) }}
            </x-ui.badge>
        @endif

        <h2 id="waitlist-01-heading" class="text-balance text-3xl font-bold tracking-tight sm:text-4xl">
            {{ __($heading) }}
        </h2>

        <p class="mx-auto mt-4 max-w-xl text-pretty text-lg text-muted-foreground">
            {{ __($subheading) }}
        </p>

        <form
            method="POST"
            action="{{ $action }}"
            class="mx-auto mt-10 flex max-w-md flex-col gap-4 text-start sm:flex-row"
        >
            @csrf

            <div class="flex-1">
                <x-ui.label for="waitlist-01-email" class="sr-only">{{ __('Email address') }}</x-ui.label>
                <x-ui.input
                    id="waitlist-01-email"
                    type="email"
                    name="email"
                    autocomplete="email"
                    required
                    :placeholder="__($placeholder)"
                    class="w-full"
                />
            </div>

            <x-ui.button type="submit" size="lg" class="w-full sm:w-auto">
                {{ __($cta) }}
            </x-ui.button>
        </form>

        <div class="mt-8 flex flex-col items-center justify-center gap-4 sm:flex-row">
            <x-ui.avatar-group :avatars="$avatars" :max="4" size="sm" />
            <p class="text-sm font-medium text-muted-foreground">{{ __($trust) }}</p>
        </div>
    </div>
</x-ui.section>

Ownership & lifecycle

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