Integrations
Integration sections — a card grid, a split layout, a marquee and an orbit diagram.
Preview
@props([
'eyebrow' => 'Integrations',
'heading' => 'Connect your favourite tools',
'subheading' => 'Sync data, automate workflows, and bring your stack together with one-click integrations across the apps your team already uses.',
'integrations' => null,
])
@php
$integrations ??= [
['name' => 'Slack', 'initial' => 'Sl', 'description' => 'Send alerts and updates straight to your team channels.', 'installed' => true, 'popular' => false],
['name' => 'Stripe', 'initial' => 'St', 'description' => 'Process payments and reconcile billing automatically.', 'installed' => false, 'popular' => true],
['name' => 'GitHub', 'initial' => 'Gh', 'description' => 'Link commits and pull requests to your tasks.', 'installed' => false, 'popular' => false],
['name' => 'Notion', 'initial' => 'No', 'description' => 'Mirror docs and pages into your workspace.', 'installed' => false, 'popular' => false],
['name' => 'Figma', 'initial' => 'Fi', 'description' => 'Embed live designs and keep specs in sync.', 'installed' => true, 'popular' => false],
['name' => 'Zapier', 'initial' => 'Za', 'description' => 'Trigger automations across thousands of apps.', 'installed' => false, 'popular' => true],
];
@endphp
<x-ui.section space="xl" {{ $attributes }}>
<x-ui.container gutter="sm">
<x-ui.section-heading align="center" overline-style="badge" :overline="$eyebrow" :title="$heading" :subtitle="$subheading" />
<div class="mt-12 grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3">
@foreach ($integrations as $integration)
<x-ui.card class="flex flex-col p-6 transition-shadow hover:shadow-md focus-within:shadow-md">
<div class="flex items-start justify-between gap-4">
<div class="flex size-12 items-center justify-center rounded-md border border-border bg-muted text-sm font-semibold text-muted-foreground" aria-hidden="true">
{{ $integration['initial'] }}
</div>
@if (! empty($integration['popular']))
<x-ui.badge>{{ __('Popular') }}</x-ui.badge>
@endif
</div>
<h3 class="mt-4 text-sm font-semibold text-card-foreground">{{ __($integration['name']) }}</h3>
<p class="mt-2 text-sm text-muted-foreground">{{ __($integration['description']) }}</p>
<div class="mt-6 flex grow items-end">
@if (! empty($integration['installed']))
<x-ui.button variant="outline" class="w-full gap-2" disabled>
<svg class="size-4 text-primary" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M20 6 9 17l-5-5" />
</svg>
{{ __('Installed') }}
</x-ui.button>
@else
<x-ui.button variant="outline" class="w-full">
{{ __('Connect') }}
<span class="sr-only">{{ __(':name integration', ['name' => __($integration['name'])]) }}</span>
</x-ui.button>
@endif
</div>
</x-ui.card>
@endforeach
</div>
</x-ui.container>
</x-ui.section>
Installation
php artisan ui:add blocks/integrations-grid
Registry contract
Install confidence
php artisan ui:add blocks/integrations-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/blocks/integrations-grid.blade.php |
Registry dependencies
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.
# Brok UI block: Integrations Grid (`integrations-grid`)
A centered heading with a responsive grid of integration cards, each showing a logo tile, name, description, a Popular badge, and a Connect/Installed outline button.
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/integrations-grid
```
## Render it
```blade
<x-blocks.integrations-grid />
```
## Props
- `eyebrow` (string, default `Integrations`) — Small label shown above the heading inside a badge.
- `heading` (string, default `Connect your favourite tools`) — Primary section heading.
- `subheading` (string, default `Sync data, automate workflows, and bring your stack together with one-click integrations across the apps your team already uses.`) — Supporting lead paragraph under the heading.
- `integrations` (mixed|null, default `null`) — Array of {name, initial, description, installed, popular} cards; falls back to a 6-item sample integration list when null.
## Use when
- Use it for an integrations directory where every card needs the same shape: a logo tile, name, description, an optional Popular badge, and a Connect or Installed button.
- Reach for it when you need a straightforward, evenly weighted grid rather than a two-column hero layout or an auto-scrolling logo row.
## Avoid when
- Avoid it when integrations should scroll continuously as a lightweight trust signal; use integrations-marquee (marquee) instead.
## Rules
- Render the installed block with `<x-blocks.integrations-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/blocks/integrations-grid
- Registry JSON (files, props, contract): https://brokui.dev/r/open/blocks/integrations-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
- Use it for an integrations directory where every card needs the same shape: a logo tile, name, description, an optional Popular badge, and a Connect or Installed button.
- Reach for it when you need a straightforward, evenly weighted grid rather than a two-column hero layout or an auto-scrolling logo row.
Avoid when
- Avoid it when integrations should scroll continuously as a lightweight trust signal; use integrations-marquee (marquee) instead.
Anti-patterns
- Do not replace semantic props with conflicting utility classes.
- Do not remove labels, focus styles, or state attributes.
- Anatomy
Usage
Render the block as a component, passing data where useful:
<x-blocks.integrations-grid />
Built from primitives
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.
@props([
'eyebrow' => 'Integrations',
'heading' => 'Connect your favourite tools',
'subheading' => 'Sync data, automate workflows, and bring your stack together with one-click integrations across the apps your team already uses.',
'integrations' => null,
])
@php
$integrations ??= [
['name' => 'Slack', 'initial' => 'Sl', 'description' => 'Send alerts and updates straight to your team channels.', 'installed' => true, 'popular' => false],
['name' => 'Stripe', 'initial' => 'St', 'description' => 'Process payments and reconcile billing automatically.', 'installed' => false, 'popular' => true],
['name' => 'GitHub', 'initial' => 'Gh', 'description' => 'Link commits and pull requests to your tasks.', 'installed' => false, 'popular' => false],
['name' => 'Notion', 'initial' => 'No', 'description' => 'Mirror docs and pages into your workspace.', 'installed' => false, 'popular' => false],
['name' => 'Figma', 'initial' => 'Fi', 'description' => 'Embed live designs and keep specs in sync.', 'installed' => true, 'popular' => false],
['name' => 'Zapier', 'initial' => 'Za', 'description' => 'Trigger automations across thousands of apps.', 'installed' => false, 'popular' => true],
];
@endphp
<x-ui.section space="xl" {{ $attributes }}>
<x-ui.container gutter="sm">
<x-ui.section-heading align="center" overline-style="badge" :overline="$eyebrow" :title="$heading" :subtitle="$subheading" />
<div class="mt-12 grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3">
@foreach ($integrations as $integration)
<x-ui.card class="flex flex-col p-6 transition-shadow hover:shadow-md focus-within:shadow-md">
<div class="flex items-start justify-between gap-4">
<div class="flex size-12 items-center justify-center rounded-md border border-border bg-muted text-sm font-semibold text-muted-foreground" aria-hidden="true">
{{ $integration['initial'] }}
</div>
@if (! empty($integration['popular']))
<x-ui.badge>{{ __('Popular') }}</x-ui.badge>
@endif
</div>
<h3 class="mt-4 text-sm font-semibold text-card-foreground">{{ __($integration['name']) }}</h3>
<p class="mt-2 text-sm text-muted-foreground">{{ __($integration['description']) }}</p>
<div class="mt-6 flex grow items-end">
@if (! empty($integration['installed']))
<x-ui.button variant="outline" class="w-full gap-2" disabled>
<svg class="size-4 text-primary" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M20 6 9 17l-5-5" />
</svg>
{{ __('Installed') }}
</x-ui.button>
@else
<x-ui.button variant="outline" class="w-full">
{{ __('Connect') }}
<span class="sr-only">{{ __(':name integration', ['name' => __($integration['name'])]) }}</span>
</x-ui.button>
@endif
</div>
</x-ui.card>
@endforeach
</div>
</x-ui.container>
</x-ui.section>
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