Skip to content
Brok UI

Loading…

No results

Integrations

Open source

Integration sections — a card grid, a split layout, a marquee and an orbit diagram.

Preview

5 of 5

resources/views/blocks/integrations-list.blade.php Blade
@props([
    'eyebrow' => 'Integrations',
    'heading' => 'Integrate with your favourite tools',
    'subheading' => 'Connect seamlessly with the platforms and services your team already relies on.',
    'ctaLabel' => 'Browse all integrations',
    'ctaHref' => '#',
    'integrations' => null,
])

@php
    $integrations ??= [
        [
            'icon' => 'M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5',
            'name' => 'Workspace sync',
            'description' => 'Keep documents, tasks, and comments in lockstep across every surface.',
        ],
        [
            'icon' => 'M22 12h-4l-3 9L9 3l-3 9H2',
            'name' => 'Realtime metrics',
            'description' => 'Stream live usage and conversion data straight into your dashboards.',
        ],
        [
            'icon' => 'M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z',
            'name' => 'Team messaging',
            'description' => 'Push alerts and approvals to the channels where work actually happens.',
        ],
    ];
@endphp

<x-ui.section space="xl" {{ $attributes }}>
    <x-ui.container size="sm" gutter="sm">
        <div class="[mask-image:radial-gradient(ellipse_100%_100%_at_50%_0%,black_70%,transparent_100%)]">
            <x-ui.card class="px-6 pb-10 pt-4 shadow-xl">
                <ul role="list" class="divide-y divide-dashed divide-border">
                    @foreach ($integrations as $integration)
                        <li class="grid grid-cols-[auto_1fr_auto] items-center gap-4 py-4">
                            <span class="flex size-12 items-center justify-center rounded-md border border-border bg-muted text-primary">
                                <svg class="size-6" fill="none" stroke="currentColor" stroke-width="1.75" viewBox="0 0 24 24" aria-hidden="true">
                                    <path stroke-linecap="round" stroke-linejoin="round" d="{{ $integration['icon'] }}" />
                                </svg>
                            </span>
                            <div class="min-w-0 space-y-0.5">
                                <h3 class="text-sm font-medium text-foreground">{{ __($integration['name']) }}</h3>
                                <p class="line-clamp-1 text-sm text-muted-foreground">{{ __($integration['description']) }}</p>
                            </div>
                            <x-ui.button variant="outline" size="icon" :aria-label="__('Connect :name', ['name' => __($integration['name'])])">
                                <svg class="size-4" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24" aria-hidden="true">
                                    <path stroke-linecap="round" stroke-linejoin="round" d="M12 5v14M5 12h14" />
                                </svg>
                            </x-ui.button>
                        </li>
                    @endforeach
                </ul>
            </x-ui.card>
        </div>

        <div class="mx-auto mt-8 max-w-lg space-y-6 text-center">
            @if ($eyebrow)
                <p class="text-sm font-semibold uppercase tracking-widest text-primary">{{ __($eyebrow) }}</p>
            @endif
            <h2 class="text-balance text-3xl font-bold tracking-tight sm:text-4xl">{{ __($heading) }}</h2>
            @if ($subheading)
                <p class="text-pretty text-muted-foreground">{{ __($subheading) }}</p>
            @endif
            @if ($ctaLabel)
                <x-ui.button :href="$ctaHref" variant="outline" size="sm">{{ __($ctaLabel) }}</x-ui.button>
            @endif
        </div>
    </x-ui.container>
</x-ui.section>

Installation

terminal
php artisan ui:add blocks/integrations-list

Installs these dependencies automatically:

Registry contract

Install confidence

php artisan ui:add blocks/integrations-list 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-list.blade.php

Registry dependencies

button card container 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.

integrations-list.md
# Brok UI block: Integrations List (`integrations-list`)

A masked card holding a divided vertical list of integration rows — each with an icon tile, name, description and a connect button — above a heading, lead and call-to-action.

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-list
```

## Render it

```blade
<x-blocks.integrations-list />
```

## Props

- `eyebrow` (string, default `Integrations`) — Small label shown above the heading.
- `heading` (string, default `Integrate with your favourite tools`) — Primary section heading.
- `subheading` (string, default `Connect seamlessly with the platforms and services your team already relies on.`) — Supporting paragraph under the heading.
- `cta-label` (string, default `Browse all integrations`) — Label for the call-to-action button below the list.
- `cta-href` (string, default `#`) — Destination for the call-to-action button.
- `integrations` (mixed|null, default `null`) — Array of {icon, name, description} rows; falls back to a 3-item sample list when null.

## Use when

- Use it for a compact, vertically stacked list of integrations or capabilities inside a single masked card, each row showing an icon, name, one-line description, and a small connect button.
- Reach for it when you want a short, focused list (2-4 rows) paired with a heading and CTA underneath, rather than a full browsable grid.

## Avoid when

- Avoid it when you need many integrations in a scannable grid with individual states; use integrations-grid instead.

## Rules

- Render the installed block with `<x-blocks.integrations-list />` 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-list
- Registry JSON (files, props, contract): https://brokui.dev/r/open/blocks/integrations-list.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 a compact, vertically stacked list of integrations or capabilities inside a single masked card, each row showing an icon, name, one-line description, and a small connect button.
  • Reach for it when you want a short, focused list (2-4 rows) paired with a heading and CTA underneath, rather than a full browsable grid.

Avoid when

  • Avoid it when you need many integrations in a scannable grid with individual states; use integrations-grid instead.

Anti-patterns

  • Do not replace semantic props with conflicting utility classes.
  • Do not remove labels, focus styles, or state attributes.
Anatomy
masked card with faded top/bottom edge divided list of integration rows row icon tile row name and description row connect icon button eyebrow, heading, subheading call-to-action button

Usage

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

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

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/integrations-list.blade.php Blade
@props([
    'eyebrow' => 'Integrations',
    'heading' => 'Integrate with your favourite tools',
    'subheading' => 'Connect seamlessly with the platforms and services your team already relies on.',
    'ctaLabel' => 'Browse all integrations',
    'ctaHref' => '#',
    'integrations' => null,
])

@php
    $integrations ??= [
        [
            'icon' => 'M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5',
            'name' => 'Workspace sync',
            'description' => 'Keep documents, tasks, and comments in lockstep across every surface.',
        ],
        [
            'icon' => 'M22 12h-4l-3 9L9 3l-3 9H2',
            'name' => 'Realtime metrics',
            'description' => 'Stream live usage and conversion data straight into your dashboards.',
        ],
        [
            'icon' => 'M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z',
            'name' => 'Team messaging',
            'description' => 'Push alerts and approvals to the channels where work actually happens.',
        ],
    ];
@endphp

<x-ui.section space="xl" {{ $attributes }}>
    <x-ui.container size="sm" gutter="sm">
        <div class="[mask-image:radial-gradient(ellipse_100%_100%_at_50%_0%,black_70%,transparent_100%)]">
            <x-ui.card class="px-6 pb-10 pt-4 shadow-xl">
                <ul role="list" class="divide-y divide-dashed divide-border">
                    @foreach ($integrations as $integration)
                        <li class="grid grid-cols-[auto_1fr_auto] items-center gap-4 py-4">
                            <span class="flex size-12 items-center justify-center rounded-md border border-border bg-muted text-primary">
                                <svg class="size-6" fill="none" stroke="currentColor" stroke-width="1.75" viewBox="0 0 24 24" aria-hidden="true">
                                    <path stroke-linecap="round" stroke-linejoin="round" d="{{ $integration['icon'] }}" />
                                </svg>
                            </span>
                            <div class="min-w-0 space-y-0.5">
                                <h3 class="text-sm font-medium text-foreground">{{ __($integration['name']) }}</h3>
                                <p class="line-clamp-1 text-sm text-muted-foreground">{{ __($integration['description']) }}</p>
                            </div>
                            <x-ui.button variant="outline" size="icon" :aria-label="__('Connect :name', ['name' => __($integration['name'])])">
                                <svg class="size-4" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24" aria-hidden="true">
                                    <path stroke-linecap="round" stroke-linejoin="round" d="M12 5v14M5 12h14" />
                                </svg>
                            </x-ui.button>
                        </li>
                    @endforeach
                </ul>
            </x-ui.card>
        </div>

        <div class="mx-auto mt-8 max-w-lg space-y-6 text-center">
            @if ($eyebrow)
                <p class="text-sm font-semibold uppercase tracking-widest text-primary">{{ __($eyebrow) }}</p>
            @endif
            <h2 class="text-balance text-3xl font-bold tracking-tight sm:text-4xl">{{ __($heading) }}</h2>
            @if ($subheading)
                <p class="text-pretty text-muted-foreground">{{ __($subheading) }}</p>
            @endif
            @if ($ctaLabel)
                <x-ui.button :href="$ctaHref" variant="outline" size="sm">{{ __($ctaLabel) }}</x-ui.button>
            @endif
        </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