Team
Team sections — a card grid, a split-lead layout, list rows, a photo grid, a minimal grid and a carousel.
Preview
@props([
'eyebrow' => 'Our team',
'heading' => 'A small, focused crew',
'subheading' => 'Just the essentials — a tight, centered grid of faces with names and roles, plus social links on hover or keyboard focus.',
'members' => null,
])
@php
$members ??= [
[
'name' => 'Avery Mitchell',
'role' => 'CEO',
'initials' => 'AM',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.com/',
],
],
[
'name' => 'Jordan Lee',
'role' => 'Engineering',
'initials' => 'JL',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'github' => 'https://github.com/',
],
],
[
'name' => 'Priya Nair',
'role' => 'Design',
'initials' => 'PN',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.com/',
],
],
[
'name' => 'Marcus Bell',
'role' => 'Advocacy',
'initials' => 'MB',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'github' => 'https://github.com/',
],
],
[
'name' => 'Sofia Romero',
'role' => 'Product',
'initials' => 'SR',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.com/',
],
],
[
'name' => 'Theo Almeida',
'role' => 'Platform',
'initials' => 'TA',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'github' => 'https://github.com/',
],
],
];
// Per-person `links` (network => url) become one social-links row, labelled per person.
$networkLabels = ['linkedin' => 'LinkedIn', 'x' => 'X', 'github' => 'GitHub'];
$memberLinks = fn (array $member) => collect($member['links'])
->map(fn (string $url, string $network) => [
'platform' => $network,
'href' => $url,
'label' => __(':name on :network', ['name' => $member['name'], 'network' => $networkLabels[$network] ?? ucfirst($network)]),
])
->values()
->all();
@endphp
<x-ui.section data-slot="team-06" space="xl" {{ $attributes }}>
<div class="mx-auto max-w-5xl px-4">
<div class="mx-auto max-w-2xl text-center">
@if ($eyebrow)
<p class="text-sm font-semibold uppercase tracking-wide text-primary">{{ __($eyebrow) }}</p>
@endif
<h2 class="mt-4 text-balance text-3xl font-bold tracking-tight sm:text-4xl">{{ __($heading) }}</h2>
@if ($subheading)
<p class="mt-4 text-pretty text-lg text-muted-foreground">{{ __($subheading) }}</p>
@endif
</div>
<ul role="list" class="mx-auto mt-12 grid max-w-3xl grid-cols-2 gap-x-6 gap-y-10 sm:mt-16 sm:grid-cols-3 lg:grid-cols-6">
@foreach ($members as $member)
<li class="group flex flex-col items-center text-center">
<x-ui.avatar
size="lg"
:alt="$member['name']"
:fallback="$member['initials']"
class="ring-2 ring-border ring-offset-2 ring-offset-background"
/>
<h3 class="mt-4 text-sm font-semibold text-foreground">{{ __($member['name']) }}</h3>
<p class="text-sm text-muted-foreground">{{ __($member['role']) }}</p>
@if (! empty($member['links']))
<x-ui.social-links :links="$memberLinks($member)" size="md" :label="__('Social links of :name', ['name' => $member['name']])" class="mt-2 justify-center opacity-0 transition-opacity duration-200 group-hover:opacity-100 group-focus-within:opacity-100 motion-reduce:transition-none" />
@endif
</li>
@endforeach
</ul>
</div>
</x-ui.section>
Installation
php artisan ui:add blocks/team-minimal
Registry contract
Install confidence
php artisan ui:add blocks/team-minimal
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.1.3
- License
- open
- Stability
- stable
- Contract
- v1
- Foundation
- ≥ 1.0.0
| Type | Generated target |
|---|---|
| blade | resources/views/blocks/team-minimal.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: Team 05 (`team-minimal`)
A minimal team section: a tight, centered grid of small circular avatars with name and role only, up to six per row on large screens, and aria-labelled social icon buttons revealed on hover and keyboard focus.
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/team-minimal
```
## Render it
```blade
<x-blocks.team-minimal />
```
## Props
- `eyebrow` (string, default `Our team`) — Small label shown above the heading.
- `heading` (string, default `A small, focused crew`) — Section heading.
- `subheading` (string, default `Just the essentials — a tight, centered grid of faces with names and roles, plus social links on hover or keyboard focus.`) — Supporting copy under the heading.
- `members` (mixed|null, default `null`) — Team member entries with name, role, initials and social links; null falls back to sample data.
## Use when
- Showing a minimal, tightly packed grid of small circular avatars with just name and role.
- Presenting a small, focused team that does not need bios.
## Avoid when
- Needing bios or more detail per member; use team-grid instead.
## Rules
- Render the installed block with `<x-blocks.team-minimal />` 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/team-minimal
- Registry JSON (files, props, contract): https://brokui.dev/r/open/blocks/team-minimal.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
- Showing a minimal, tightly packed grid of small circular avatars with just name and role.
- Presenting a small, focused team that does not need bios.
Avoid when
- Needing bios or more detail per member; use team-grid 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.team-minimal />
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' => 'Our team',
'heading' => 'A small, focused crew',
'subheading' => 'Just the essentials — a tight, centered grid of faces with names and roles, plus social links on hover or keyboard focus.',
'members' => null,
])
@php
$members ??= [
[
'name' => 'Avery Mitchell',
'role' => 'CEO',
'initials' => 'AM',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.com/',
],
],
[
'name' => 'Jordan Lee',
'role' => 'Engineering',
'initials' => 'JL',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'github' => 'https://github.com/',
],
],
[
'name' => 'Priya Nair',
'role' => 'Design',
'initials' => 'PN',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.com/',
],
],
[
'name' => 'Marcus Bell',
'role' => 'Advocacy',
'initials' => 'MB',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'github' => 'https://github.com/',
],
],
[
'name' => 'Sofia Romero',
'role' => 'Product',
'initials' => 'SR',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.com/',
],
],
[
'name' => 'Theo Almeida',
'role' => 'Platform',
'initials' => 'TA',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'github' => 'https://github.com/',
],
],
];
// Per-person `links` (network => url) become one social-links row, labelled per person.
$networkLabels = ['linkedin' => 'LinkedIn', 'x' => 'X', 'github' => 'GitHub'];
$memberLinks = fn (array $member) => collect($member['links'])
->map(fn (string $url, string $network) => [
'platform' => $network,
'href' => $url,
'label' => __(':name on :network', ['name' => $member['name'], 'network' => $networkLabels[$network] ?? ucfirst($network)]),
])
->values()
->all();
@endphp
<x-ui.section data-slot="team-06" space="xl" {{ $attributes }}>
<div class="mx-auto max-w-5xl px-4">
<div class="mx-auto max-w-2xl text-center">
@if ($eyebrow)
<p class="text-sm font-semibold uppercase tracking-wide text-primary">{{ __($eyebrow) }}</p>
@endif
<h2 class="mt-4 text-balance text-3xl font-bold tracking-tight sm:text-4xl">{{ __($heading) }}</h2>
@if ($subheading)
<p class="mt-4 text-pretty text-lg text-muted-foreground">{{ __($subheading) }}</p>
@endif
</div>
<ul role="list" class="mx-auto mt-12 grid max-w-3xl grid-cols-2 gap-x-6 gap-y-10 sm:mt-16 sm:grid-cols-3 lg:grid-cols-6">
@foreach ($members as $member)
<li class="group flex flex-col items-center text-center">
<x-ui.avatar
size="lg"
:alt="$member['name']"
:fallback="$member['initials']"
class="ring-2 ring-border ring-offset-2 ring-offset-background"
/>
<h3 class="mt-4 text-sm font-semibold text-foreground">{{ __($member['name']) }}</h3>
<p class="text-sm text-muted-foreground">{{ __($member['role']) }}</p>
@if (! empty($member['links']))
<x-ui.social-links :links="$memberLinks($member)" size="md" :label="__('Social links of :name', ['name' => $member['name']])" class="mt-2 justify-center opacity-0 transition-opacity duration-200 group-hover:opacity-100 group-focus-within:opacity-100 motion-reduce:transition-none" />
@endif
</li>
@endforeach
</ul>
</div>
</x-ui.section>
Ownership & lifecycle
Owner, release state, review evidence and adoption for this item.
- Owner
- Platform UI (@JoshJML)
- Current version
-
1.1.3 - Status
- Stable
- License
-
open - Deprecation
- Not deprecated
- Contract
-
v1 - Foundation
-
≥ 1.0.0