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

3 of 5

resources/views/blocks/logo-cloud-inline-heading.blade.php Blade
@props([
    'heading' => 'Powering teams at',
    'badge' => '2,000+ companies',
    'logos' => null,
])

@php
    $logos ??= [
        'Acme Corp',
        'Globex',
        'Initech',
        'Umbrella',
        'Hooli',
        'Soylent',
    ];
@endphp

<x-ui.section space="lg" {{ $attributes }}>
    <x-ui.container gutter="sm">
        <div class="flex flex-col gap-x-10 gap-y-6 lg:flex-row lg:items-center lg:justify-between">
            <div class="flex shrink-0 items-center gap-4">
                <h2 class="text-sm font-semibold uppercase tracking-wide text-muted-foreground">
                    {{ __($heading) }}
                </h2>
                @if ($badge)
                    <x-ui.badge variant="secondary">{{ __($badge) }}</x-ui.badge>
                @endif
            </div>

            <ul class="flex flex-wrap items-center gap-x-8 gap-y-4">
                @foreach ($logos as $logo)
                    <li class="flex items-center gap-2 text-base font-semibold tracking-tight text-muted-foreground transition-colors hover:text-foreground">
                        <svg class="h-5 w-5 shrink-0" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
                            <path d="M12 2 4 6v6c0 5 3.5 8 8 10 4.5-2 8-5 8-10V6l-8-4Z" />
                        </svg>
                        <span>{{ __($logo) }}</span>
                    </li>
                @endforeach
            </ul>
        </div>

        <x-ui.separator class="mt-10" />
    </x-ui.container>
</x-ui.section>

Installation

terminal
php artisan ui:add blocks/logo-cloud-inline-heading

Installs these dependencies automatically:

Registry contract

Install confidence

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

Registry dependencies

badge container section separator

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-inline-heading.md
# Brok UI block: Logo Cloud Heading (`logo-cloud-inline-heading`)

An inline-heading logo cloud pairing an eyebrow heading and badge with a wrap row of monochrome token wordmark logos above a separator.

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-inline-heading
```

## Render it

```blade
<x-blocks.logo-cloud-inline-heading />
```

## Props

- `heading` (string, default `Powering teams at`) — Uppercase label preceding the badge.
- `badge` (string, default `2,000+ companies`) — Badge text (e.g. company count); falsy hides the badge.
- `logos` (mixed|null, default `null`) — Array of logo name strings; falls back to a 6-item sample list when null.

## Use when

- Use it for a compact 'trusted by' strip that pairs an inline heading and count badge on one side with a wrapping row of wordmark logos on the other.
- Reach for it when the section needs to sit in a tight horizontal band (e.g. under a hero) rather than as a full centered section.

## Avoid when

- Avoid it when you need a large, centered logo showcase; use logo-cloud-grid or logo-cloud-cards instead.

## Rules

- Render the installed block with `<x-blocks.logo-cloud-inline-heading />` 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-inline-heading
- Registry JSON (files, props, contract): https://brokui.dev/r/open/blocks/logo-cloud-inline-heading.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 'trusted by' strip that pairs an inline heading and count badge on one side with a wrapping row of wordmark logos on the other.
  • Reach for it when the section needs to sit in a tight horizontal band (e.g. under a hero) rather than as a full centered section.

Avoid when

  • Avoid it when you need a large, centered logo showcase; use logo-cloud-grid or logo-cloud-cards instead.

Anti-patterns

  • Do not replace semantic props with conflicting utility classes.
  • Do not remove labels, focus styles, or state attributes.
Anatomy
inline heading with company-count badge wrapping logo row logo icon and wordmark bottom separator

Usage

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

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

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-inline-heading.blade.php Blade
@props([
    'heading' => 'Powering teams at',
    'badge' => '2,000+ companies',
    'logos' => null,
])

@php
    $logos ??= [
        'Acme Corp',
        'Globex',
        'Initech',
        'Umbrella',
        'Hooli',
        'Soylent',
    ];
@endphp

<x-ui.section space="lg" {{ $attributes }}>
    <x-ui.container gutter="sm">
        <div class="flex flex-col gap-x-10 gap-y-6 lg:flex-row lg:items-center lg:justify-between">
            <div class="flex shrink-0 items-center gap-4">
                <h2 class="text-sm font-semibold uppercase tracking-wide text-muted-foreground">
                    {{ __($heading) }}
                </h2>
                @if ($badge)
                    <x-ui.badge variant="secondary">{{ __($badge) }}</x-ui.badge>
                @endif
            </div>

            <ul class="flex flex-wrap items-center gap-x-8 gap-y-4">
                @foreach ($logos as $logo)
                    <li class="flex items-center gap-2 text-base font-semibold tracking-tight text-muted-foreground transition-colors hover:text-foreground">
                        <svg class="h-5 w-5 shrink-0" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
                            <path d="M12 2 4 6v6c0 5 3.5 8 8 10 4.5-2 8-5 8-10V6l-8-4Z" />
                        </svg>
                        <span>{{ __($logo) }}</span>
                    </li>
                @endforeach
            </ul>
        </div>

        <x-ui.separator class="mt-10" />
    </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