Blog Index
Full blog index pages — a post grid, a featured-plus-recent layout, and a magazine layout.
Preview
@props([])
@php
$navLinks = [
['label' => 'Features', 'href' => '#'],
['label' => 'Docs', 'href' => '#'],
['label' => 'Pricing', 'href' => '#'],
['label' => 'Blog', 'href' => '#'],
];
$posts = [
[
'category' => 'Engineering',
'title' => 'Shipping a copy-into-your-app component registry',
'excerpt' => 'The architecture behind a shadcn-style registry for Laravel — manifests, content hashing, and resolving dependencies recursively at install time.',
'href' => '#',
'author' => 'Avery Chen',
'initials' => 'AC',
'date' => 'Jun 12, 2026',
'datetime' => '2026-06-12',
],
[
'category' => 'Design Systems',
'title' => 'Theming everything with semantic design tokens',
'excerpt' => 'How a single token layer re-skins an entire product — light, dark, and per-surface — without ever editing a component by hand.',
'href' => '#',
'author' => 'Mara Lopez',
'initials' => 'ML',
'date' => 'Jun 9, 2026',
'datetime' => '2026-06-09',
],
[
'category' => 'Accessibility',
'title' => 'A practical path to WCAG 2.2 AA in Blade',
'excerpt' => 'Keyboard support, focus-visible states, ARIA wiring, and RTL-safe layout — the checklist we run before any block leaves the registry.',
'href' => '#',
'author' => 'Sam Okafor',
'initials' => 'SO',
'date' => 'Jun 5, 2026',
'datetime' => '2026-06-05',
],
[
'category' => 'Product',
'title' => 'Own your UI: editable code over runtime lock-in',
'excerpt' => 'Why we hand you plain Blade and CSS instead of a black-box dependency, and what that trade means for long-term maintenance.',
'href' => '#',
'author' => 'Jordan Kim',
'initials' => 'JK',
'date' => 'May 30, 2026',
'datetime' => '2026-05-30',
],
[
'category' => 'Performance',
'title' => 'Static-first Blade, JS only when interaction demands it',
'excerpt' => 'Measuring the cost of every interactive primitive and how teardown discipline keeps long-lived pages leak-free.',
'href' => '#',
'author' => 'Theo Lane',
'initials' => 'TL',
'date' => 'May 24, 2026',
'datetime' => '2026-05-24',
],
[
'category' => 'Tooling',
'title' => 'Guard tests that keep three trees in sync',
'excerpt' => 'The parity suite that fails CI the moment a registry source, its mirror, and its catalog entry drift apart.',
'href' => '#',
'author' => 'Mara Singh',
'initials' => 'MS',
'date' => 'May 19, 2026',
'datetime' => '2026-05-19',
],
];
$footerColumns = [
['heading' => 'Product', 'links' => [
['label' => 'Components', 'href' => '#'],
['label' => 'Blocks', 'href' => '#'],
['label' => 'Pricing', 'href' => '#'],
['label' => 'Changelog', 'href' => '#'],
]],
['heading' => 'Resources', 'links' => [
['label' => 'Documentation', 'href' => '#'],
['label' => 'Guides', 'href' => '#'],
['label' => 'Blog', 'href' => '#'],
['label' => 'Support', 'href' => '#'],
]],
['heading' => 'Company', 'links' => [
['label' => 'About', 'href' => '#'],
['label' => 'Careers', 'href' => '#'],
['label' => 'Contact', 'href' => '#'],
]],
];
@endphp
{{-- Blog index page — composes existing marketing blocks into a full screen. --}}
<div class="min-h-screen bg-background text-foreground">
<x-blocks.header-navbar
brand="Northstar"
:links="$navLinks"
cta="Get started"
/>
<main>
<x-blocks.blog-image-grid
:media="false"
heading="From the engineering blog"
subheading="Deep dives, design-system notes, and product updates from the team building the Laravel-native UI registry."
:posts="$posts"
/>
<x-blocks.waitlist
eyebrow="The changelog"
heading="New components in your inbox"
subheading="A short weekly note on fresh blocks, breaking changes, and the craft behind them. No spam, unsubscribe anytime."
cta="Subscribe"
trust="Read by 4,000+ Laravel builders"
/>
</main>
<x-blocks.footer-columns
brand="Northstar"
tagline="The Laravel-native UI and blocks system you copy into your app."
:columns="$footerColumns"
/>
</div>
Installation
php artisan ui:add pages/blog-page-grid
Registry contract
Install confidence
php artisan ui:add pages/blog-page-grid
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/blog-page-grid.blade.php |
Registry dependencies
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.
# Brok UI page: Blog Page (`blog-page-grid`)
A full blog index landing page composing a navbar, a featured post grid, a newsletter CTA and a 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/blog-page-grid
```
## Render it
```blade
<x-pages.blog-page-grid />
```
## Use when
- A blog index landing page: a navbar, a featured post grid, a newsletter call-to-action and a footer.
- It composes blocks/header-navbar, blocks/blog-image-grid, blocks/waitlist and blocks/footer-columns.
## Avoid when
- Wanting a search header with a featured-plus-recent layout; use blog-page-featured instead. Wanting a magazine-style layout; use blog-page-magazine instead.
## Rules
- Render the installed page with `<x-pages.blog-page-grid />` 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/blog-page-grid
- Registry JSON (files, props, contract): https://brokui.dev/r/open/pages/blog-page-grid.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 blog index landing page: a navbar, a featured post grid, a newsletter call-to-action and a footer.
- It composes blocks/header-navbar, blocks/blog-image-grid, blocks/waitlist and blocks/footer-columns.
Avoid when
- Wanting a search header with a featured-plus-recent layout; use blog-page-featured instead. Wanting a magazine-style layout; use blog-page-magazine 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:
<x-pages.blog-page-grid />
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.
@props([])
@php
$navLinks = [
['label' => 'Features', 'href' => '#'],
['label' => 'Docs', 'href' => '#'],
['label' => 'Pricing', 'href' => '#'],
['label' => 'Blog', 'href' => '#'],
];
$posts = [
[
'category' => 'Engineering',
'title' => 'Shipping a copy-into-your-app component registry',
'excerpt' => 'The architecture behind a shadcn-style registry for Laravel — manifests, content hashing, and resolving dependencies recursively at install time.',
'href' => '#',
'author' => 'Avery Chen',
'initials' => 'AC',
'date' => 'Jun 12, 2026',
'datetime' => '2026-06-12',
],
[
'category' => 'Design Systems',
'title' => 'Theming everything with semantic design tokens',
'excerpt' => 'How a single token layer re-skins an entire product — light, dark, and per-surface — without ever editing a component by hand.',
'href' => '#',
'author' => 'Mara Lopez',
'initials' => 'ML',
'date' => 'Jun 9, 2026',
'datetime' => '2026-06-09',
],
[
'category' => 'Accessibility',
'title' => 'A practical path to WCAG 2.2 AA in Blade',
'excerpt' => 'Keyboard support, focus-visible states, ARIA wiring, and RTL-safe layout — the checklist we run before any block leaves the registry.',
'href' => '#',
'author' => 'Sam Okafor',
'initials' => 'SO',
'date' => 'Jun 5, 2026',
'datetime' => '2026-06-05',
],
[
'category' => 'Product',
'title' => 'Own your UI: editable code over runtime lock-in',
'excerpt' => 'Why we hand you plain Blade and CSS instead of a black-box dependency, and what that trade means for long-term maintenance.',
'href' => '#',
'author' => 'Jordan Kim',
'initials' => 'JK',
'date' => 'May 30, 2026',
'datetime' => '2026-05-30',
],
[
'category' => 'Performance',
'title' => 'Static-first Blade, JS only when interaction demands it',
'excerpt' => 'Measuring the cost of every interactive primitive and how teardown discipline keeps long-lived pages leak-free.',
'href' => '#',
'author' => 'Theo Lane',
'initials' => 'TL',
'date' => 'May 24, 2026',
'datetime' => '2026-05-24',
],
[
'category' => 'Tooling',
'title' => 'Guard tests that keep three trees in sync',
'excerpt' => 'The parity suite that fails CI the moment a registry source, its mirror, and its catalog entry drift apart.',
'href' => '#',
'author' => 'Mara Singh',
'initials' => 'MS',
'date' => 'May 19, 2026',
'datetime' => '2026-05-19',
],
];
$footerColumns = [
['heading' => 'Product', 'links' => [
['label' => 'Components', 'href' => '#'],
['label' => 'Blocks', 'href' => '#'],
['label' => 'Pricing', 'href' => '#'],
['label' => 'Changelog', 'href' => '#'],
]],
['heading' => 'Resources', 'links' => [
['label' => 'Documentation', 'href' => '#'],
['label' => 'Guides', 'href' => '#'],
['label' => 'Blog', 'href' => '#'],
['label' => 'Support', 'href' => '#'],
]],
['heading' => 'Company', 'links' => [
['label' => 'About', 'href' => '#'],
['label' => 'Careers', 'href' => '#'],
['label' => 'Contact', 'href' => '#'],
]],
];
@endphp
{{-- Blog index page — composes existing marketing blocks into a full screen. --}}
<div class="min-h-screen bg-background text-foreground">
<x-blocks.header-navbar
brand="Northstar"
:links="$navLinks"
cta="Get started"
/>
<main>
<x-blocks.blog-image-grid
:media="false"
heading="From the engineering blog"
subheading="Deep dives, design-system notes, and product updates from the team building the Laravel-native UI registry."
:posts="$posts"
/>
<x-blocks.waitlist
eyebrow="The changelog"
heading="New components in your inbox"
subheading="A short weekly note on fresh blocks, breaking changes, and the craft behind them. No spam, unsubscribe anytime."
cta="Subscribe"
trust="Read by 4,000+ Laravel builders"
/>
</main>
<x-blocks.footer-columns
brand="Northstar"
tagline="The Laravel-native UI and blocks system you copy into your app."
:columns="$footerColumns"
/>
</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