Skip to content
Brok UI

Loading…

No results

Logo Cloud

Open source

Trusted-by logo clouds — a bordered grid (with an optional cursor-spotlight reveal), a marquee, an inline-heading row and an animated group cycler.

Preview

5 of 5

resources/views/blocks/logo-cloud-cards.blade.php Blade
@props([
    'heading' => 'Trusted by teams at leading companies',
    'logos'   => null,
])

@php
    $logos ??= [
        ['name' => 'Vertex', 'svg' => '<path d="M24 6 42 40H6L24 6Z" fill="currentColor"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Lumen', 'svg' => '<rect x="4" y="4" width="40" height="40" rx="8" fill="none" stroke="currentColor" stroke-width="3.5"/><path d="M14 34 34 14M14 22h10M24 34h10" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Northwind', 'svg' => '<circle cx="24" cy="24" r="18" fill="none" stroke="currentColor" stroke-width="3"/><path d="M24 6v18l12.7 7.4" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Quill', 'svg' => '<path d="M10 8h20l8 8v24H10V8Z" fill="none" stroke="currentColor" stroke-width="3" stroke-linejoin="round"/><path d="M30 8v8h8" stroke="currentColor" stroke-width="3" stroke-linejoin="round"/><path d="M16 22h16M16 30h10" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Cadence', 'svg' => '<rect x="14" y="4" width="20" height="40" rx="10" fill="none" stroke="currentColor" stroke-width="3"/><circle cx="24" cy="24" r="6" fill="none" stroke="currentColor" stroke-width="3"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Mosaic', 'svg' => '<rect x="6" y="6" width="14" height="14" rx="3" fill="currentColor"/><rect x="28" y="6" width="14" height="14" rx="3" fill="currentColor" opacity="0.6"/><rect x="6" y="28" width="14" height="14" rx="3" fill="currentColor" opacity="0.6"/><rect x="28" y="28" width="14" height="14" rx="3" fill="currentColor" opacity="0.3"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Atlas', 'svg' => '<circle cx="24" cy="24" r="18" fill="none" stroke="currentColor" stroke-width="3"/><path d="M6 24h36M24 6a26 26 0 0 1 0 36 26 26 0 0 1 0-36Z" fill="none" stroke="currentColor" stroke-width="2.5"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Forge', 'svg' => '<path d="M12 18c2-8 8-12 12-8-2 4-4 6-4 10 4-8 12-12 16-8-2 8-8 12-12 8 2-4 4-6 4-10-4 8-12 12-16 8Z" fill="currentColor"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Beacon', 'svg' => '<path d="M24 4 8 40h32L24 4Z" fill="none" stroke="currentColor" stroke-width="3" stroke-linejoin="round"/><circle cx="24" cy="30" r="4" fill="currentColor"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Orbit', 'svg' => '<circle cx="24" cy="24" r="6" fill="currentColor"/><ellipse cx="24" cy="24" rx="20" ry="9" fill="none" stroke="currentColor" stroke-width="2.5"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Pulse', 'svg' => '<path d="M4 24h10l4-12 8 24 4-12h10" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Relay', 'svg' => '<rect x="8" y="8" width="32" height="32" rx="6" fill="none" stroke="currentColor" stroke-width="3"/><path d="M16 24h16M24 16v16" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/>', 'viewBox' => '0 0 48 48'],
    ];
@endphp

<x-ui.section space="xl" {{ $attributes }}>
    <x-ui.container gutter="sm">
        <p class="text-balance text-center text-sm font-medium uppercase tracking-widest text-muted-foreground">{{ __($heading) }}</p>

        <ul role="list" class="mt-10 grid grid-cols-2 gap-4 sm:grid-cols-3 lg:grid-cols-6">
            @foreach ($logos as $logo)
                <li>
                    <x-ui.card class="flex aspect-[3/2] items-center justify-center p-6 text-muted-foreground transition-colors duration-150 hover:text-foreground">
                        {{-- TRUST BOUNDARY: `svg` is rendered as raw SVG markup ({!! !!}); it must be
                             developer-authored path data, never user/CMS input. To render icons chosen
                             at runtime, switch to an internal key => svg map (see weather-widget-01). --}}
                        <svg viewBox="{{ $logo['viewBox'] }}" aria-hidden="true" class="h-8 w-auto" xmlns="http://www.w3.org/2000/svg">{!! $logo['svg'] !!}</svg>
                        <span class="sr-only">{{ __($logo['name']) }}</span>
                    </x-ui.card>
                </li>
            @endforeach
        </ul>
    </x-ui.container>
</x-ui.section>

Installation

terminal
php artisan ui:add blocks/logo-cloud-cards

Installs these dependencies automatically:

Registry contract

Install confidence

php artisan ui:add blocks/logo-cloud-cards 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/logo-cloud-cards.blade.php

Registry dependencies

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.

logo-cloud-cards.md
# Brok UI block: Logo Cloud Card (`logo-cloud-cards`)

A trusted-by logo cloud where each customer logo sits inside its own bordered card and lifts from muted to full colour on hover.

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/logo-cloud-cards
```

## Render it

```blade
<x-blocks.logo-cloud-cards />
```

## Props

- `heading` (string, default `Trusted by teams at leading companies`) — Centered muted heading above the logo grid.
- `logos` (mixed|null, default `null`) — Array of {name, svg, viewBox} entries; falls back to an 11-item sample list of custom-mark logos when null. The svg field renders raw markup and must be developer-authored, never user/CMS-supplied.

## Use when

- Use it for a 'trusted by' section where each customer logo needs its own bordered card and a custom inline SVG mark rather than a plain text wordmark.
- Reach for it when logos should sit in a static responsive grid (2-6 columns) with a muted-to-full-colour hover lift, not scrolling or cycling.

## Avoid when

- Avoid it when logos are plain text wordmarks without custom marks; use logo-cloud-grid or logo-cloud-inline-heading instead.

## Rules

- Render the installed block with `<x-blocks.logo-cloud-cards />` 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/logo-cloud-cards
- Registry JSON (files, props, contract): https://brokui.dev/r/open/blocks/logo-cloud-cards.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 'trusted by' section where each customer logo needs its own bordered card and a custom inline SVG mark rather than a plain text wordmark.
  • Reach for it when logos should sit in a static responsive grid (2-6 columns) with a muted-to-full-colour hover lift, not scrolling or cycling.

Avoid when

  • Avoid it when logos are plain text wordmarks without custom marks; use logo-cloud-grid or logo-cloud-inline-heading instead.

Anti-patterns

  • Do not replace semantic props with conflicting utility classes.
  • Do not remove labels, focus styles, or state attributes.
Anatomy
centered muted heading responsive card grid logo card inline SVG mark accessible logo name

Usage

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

resources/views/welcome.blade.php Blade
<x-blocks.logo-cloud-cards />

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/logo-cloud-cards.blade.php Blade
@props([
    'heading' => 'Trusted by teams at leading companies',
    'logos'   => null,
])

@php
    $logos ??= [
        ['name' => 'Vertex', 'svg' => '<path d="M24 6 42 40H6L24 6Z" fill="currentColor"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Lumen', 'svg' => '<rect x="4" y="4" width="40" height="40" rx="8" fill="none" stroke="currentColor" stroke-width="3.5"/><path d="M14 34 34 14M14 22h10M24 34h10" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Northwind', 'svg' => '<circle cx="24" cy="24" r="18" fill="none" stroke="currentColor" stroke-width="3"/><path d="M24 6v18l12.7 7.4" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Quill', 'svg' => '<path d="M10 8h20l8 8v24H10V8Z" fill="none" stroke="currentColor" stroke-width="3" stroke-linejoin="round"/><path d="M30 8v8h8" stroke="currentColor" stroke-width="3" stroke-linejoin="round"/><path d="M16 22h16M16 30h10" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Cadence', 'svg' => '<rect x="14" y="4" width="20" height="40" rx="10" fill="none" stroke="currentColor" stroke-width="3"/><circle cx="24" cy="24" r="6" fill="none" stroke="currentColor" stroke-width="3"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Mosaic', 'svg' => '<rect x="6" y="6" width="14" height="14" rx="3" fill="currentColor"/><rect x="28" y="6" width="14" height="14" rx="3" fill="currentColor" opacity="0.6"/><rect x="6" y="28" width="14" height="14" rx="3" fill="currentColor" opacity="0.6"/><rect x="28" y="28" width="14" height="14" rx="3" fill="currentColor" opacity="0.3"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Atlas', 'svg' => '<circle cx="24" cy="24" r="18" fill="none" stroke="currentColor" stroke-width="3"/><path d="M6 24h36M24 6a26 26 0 0 1 0 36 26 26 0 0 1 0-36Z" fill="none" stroke="currentColor" stroke-width="2.5"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Forge', 'svg' => '<path d="M12 18c2-8 8-12 12-8-2 4-4 6-4 10 4-8 12-12 16-8-2 8-8 12-12 8 2-4 4-6 4-10-4 8-12 12-16 8Z" fill="currentColor"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Beacon', 'svg' => '<path d="M24 4 8 40h32L24 4Z" fill="none" stroke="currentColor" stroke-width="3" stroke-linejoin="round"/><circle cx="24" cy="30" r="4" fill="currentColor"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Orbit', 'svg' => '<circle cx="24" cy="24" r="6" fill="currentColor"/><ellipse cx="24" cy="24" rx="20" ry="9" fill="none" stroke="currentColor" stroke-width="2.5"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Pulse', 'svg' => '<path d="M4 24h10l4-12 8 24 4-12h10" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>', 'viewBox' => '0 0 48 48'],
        ['name' => 'Relay', 'svg' => '<rect x="8" y="8" width="32" height="32" rx="6" fill="none" stroke="currentColor" stroke-width="3"/><path d="M16 24h16M24 16v16" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/>', 'viewBox' => '0 0 48 48'],
    ];
@endphp

<x-ui.section space="xl" {{ $attributes }}>
    <x-ui.container gutter="sm">
        <p class="text-balance text-center text-sm font-medium uppercase tracking-widest text-muted-foreground">{{ __($heading) }}</p>

        <ul role="list" class="mt-10 grid grid-cols-2 gap-4 sm:grid-cols-3 lg:grid-cols-6">
            @foreach ($logos as $logo)
                <li>
                    <x-ui.card class="flex aspect-[3/2] items-center justify-center p-6 text-muted-foreground transition-colors duration-150 hover:text-foreground">
                        {{-- TRUST BOUNDARY: `svg` is rendered as raw SVG markup ({!! !!}); it must be
                             developer-authored path data, never user/CMS input. To render icons chosen
                             at runtime, switch to an internal key => svg map (see weather-widget-01). --}}
                        <svg viewBox="{{ $logo['viewBox'] }}" aria-hidden="true" class="h-8 w-auto" xmlns="http://www.w3.org/2000/svg">{!! $logo['svg'] !!}</svg>
                        <span class="sr-only">{{ __($logo['name']) }}</span>
                    </x-ui.card>
                </li>
            @endforeach
        </ul>
    </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