Skip to content
Brok UI

Loading…

No results

Contact Page

Open source

Full contact pages — a split form with map, method cards with FAQ, and a centered split form.

Preview

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

<div class="min-h-screen bg-background text-foreground">
    <x-blocks.header-centered />
    <main>
        <x-blocks.contact-split />
        <x-blocks.contact-compact />
    </main>
    <x-blocks.footer-minimal />
</div>

Installation

terminal
php artisan ui:add pages/contact-page-centered

Registry contract

Install confidence

php artisan ui:add pages/contact-page-centered 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.3
License
open
Stability
stable
Contract
v1
Foundation
≥ 1.0.0
Type Generated target
blade resources/views/pages/contact-page-centered.blade.php

Registry dependencies

blocks/header-centered blocks/contact-split blocks/contact-compact 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.

contact-page-centered.md
# Brok UI page: Contact Page 03 (`contact-page-centered`)

A contact page with a centered navbar, a split contact form, a compact contact strip and a minimal footer.

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/contact-page-centered
```

## Render it

```blade
<x-pages.contact-page-centered />
```

## Use when

- A contact page with a centered navbar, a split contact form and a compact contact strip.
- It composes blocks/header-centered, blocks/contact-split, blocks/contact-compact and blocks/footer-minimal.

## Avoid when

- Wanting a map section or an FAQ; use contact-page-split-map or contact-page-method-cards instead.

## Rules

- Render the installed page with `<x-pages.contact-page-centered />` 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/contact-page-centered
- Registry JSON (files, props, contract): https://brokui.dev/r/open/pages/contact-page-centered.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 contact page with a centered navbar, a split contact form and a compact contact strip.
  • It composes blocks/header-centered, blocks/contact-split, blocks/contact-compact and blocks/footer-minimal.

Avoid when

  • Wanting a map section or an FAQ; use contact-page-split-map or contact-page-method-cards instead.

Anti-patterns

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

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.contact-page-centered />

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/contact-page-centered.blade.php Blade
@props([])

<div class="min-h-screen bg-background text-foreground">
    <x-blocks.header-centered />
    <main>
        <x-blocks.contact-split />
        <x-blocks.contact-compact />
    </main>
    <x-blocks.footer-minimal />
</div>

Ownership & lifecycle

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