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' => 'The people behind the product',
'subheading' => 'A small, focused team that sweats every detail — from design tokens to keyboard focus states.',
'members' => null,
])
@php
$members ??= [
['name' => 'Avery Mitchell', 'role' => 'Co-founder & CEO', 'initials' => 'AM', 'src' => null, 'links' => ['x' => '#', 'linkedin' => '#', 'github' => '#']],
['name' => 'Jordan Lee', 'role' => 'Head of Engineering', 'initials' => 'JL', 'src' => null, 'links' => ['x' => '#', 'linkedin' => '#', 'github' => '#']],
['name' => 'Priya Nair', 'role' => 'Lead Designer', 'initials' => 'PN', 'src' => null, 'links' => ['x' => '#', 'linkedin' => '#']],
['name' => 'Marcus Bell', 'role' => 'Developer Advocate', 'initials' => 'MB', 'src' => null, 'links' => ['linkedin' => '#', 'github' => '#']],
['name' => 'Sasha Okafor', 'role' => 'Product Designer', 'initials' => 'SO', 'src' => null, 'links' => ['x' => '#', 'linkedin' => '#']],
['name' => 'Lena Kovac', 'role' => 'Full-stack Engineer', 'initials' => 'LK', 'src' => null, 'links' => ['x' => '#', 'github' => '#']],
['name' => 'Theo Brandt', 'role' => 'Growth & Marketing', 'initials' => 'TB', 'src' => null, 'links' => ['x' => '#', 'linkedin' => '#']],
['name' => 'Nia Reyes', 'role' => 'Customer Success', 'initials' => 'NR', 'src' => null, 'links' => ['linkedin' => '#']],
];
// 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 space="xl" {{ $attributes }}>
<x-ui.container gutter="sm">
<x-ui.section-heading align="center" overline-style="label" :overline="$eyebrow" :title="$heading" :subtitle="$subheading" />
<ul role="list" class="mt-12 grid grid-cols-2 gap-6 sm:mt-16 lg:grid-cols-4">
@foreach ($members as $member)
<li>
<figure class="group flex flex-col items-center gap-4 text-center" data-slot="team-member">
<div class="relative w-full overflow-hidden rounded-lg">
<div class="flex aspect-[3/4] w-full flex-col items-center justify-center bg-gradient-to-br from-muted to-muted/50">
<x-ui.avatar size="xl" :src="$member['src'] ?? null" :alt="$member['name']" :fallback="$member['initials']" class="ring-2 ring-border ring-offset-2 ring-offset-muted" />
</div>
@if (! empty($member['links']))
<div class="absolute inset-x-0 bottom-0 flex translate-y-2 items-center justify-center gap-2 bg-background/80 py-4 opacity-0 backdrop-blur-sm transition-all duration-200 ease-out group-hover:translate-y-0 group-hover:opacity-100">
<x-ui.social-links :links="$memberLinks($member)" size="sm" variant="outline" shape="full" :label="__('Social links of :name', ['name' => $member['name']])" />
</div>
@endif
</div>
<figcaption class="flex flex-col items-center gap-2">
<span class="text-sm font-semibold text-foreground">{{ __($member['name']) }}</span>
<span class="text-sm text-muted-foreground">{{ __($member['role']) }}</span>
</figcaption>
</figure>
</li>
@endforeach
</ul>
</x-ui.container>
</x-ui.section>
Installation
php artisan ui:add blocks/team-hover
Registry contract
Install confidence
php artisan ui:add blocks/team-hover
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.2
- License
- open
- Stability
- stable
- Contract
- v1
- Foundation
- ≥ 1.0.0
| Type | Generated target |
|---|---|
| blade | resources/views/blocks/team-hover.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 Hover (`team-hover`)
A team portrait grid where each member card reveals social links in a hover overlay over the bottom of the portrait.
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-hover
```
## Render it
```blade
<x-blocks.team-hover />
```
## Props
- `eyebrow` (string, default `Our team`) — Small label shown above the heading.
- `heading` (string, default `The people behind the product`) — Section heading.
- `subheading` (string, default `A small, focused team that sweats every detail — from design tokens to keyboard focus states.`) — Supporting copy under the heading.
- `members` (mixed|null, default `null`) — Team member entries with name, role, initials, optional photo source and social links; null falls back to sample data.
## Use when
- Showing a portrait grid where social links appear in a hover overlay over each photo.
- Wanting a clean grid that only reveals actions on hover or keyboard focus.
## Avoid when
- Wanting always-visible social links instead of a hover reveal; use team-grid instead.
## Rules
- Render the installed block with `<x-blocks.team-hover />` 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-hover
- Registry JSON (files, props, contract): https://brokui.dev/r/open/blocks/team-hover.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 portrait grid where social links appear in a hover overlay over each photo.
- Wanting a clean grid that only reveals actions on hover or keyboard focus.
Avoid when
- Wanting always-visible social links instead of a hover reveal; 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-hover />
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' => 'The people behind the product',
'subheading' => 'A small, focused team that sweats every detail — from design tokens to keyboard focus states.',
'members' => null,
])
@php
$members ??= [
['name' => 'Avery Mitchell', 'role' => 'Co-founder & CEO', 'initials' => 'AM', 'src' => null, 'links' => ['x' => '#', 'linkedin' => '#', 'github' => '#']],
['name' => 'Jordan Lee', 'role' => 'Head of Engineering', 'initials' => 'JL', 'src' => null, 'links' => ['x' => '#', 'linkedin' => '#', 'github' => '#']],
['name' => 'Priya Nair', 'role' => 'Lead Designer', 'initials' => 'PN', 'src' => null, 'links' => ['x' => '#', 'linkedin' => '#']],
['name' => 'Marcus Bell', 'role' => 'Developer Advocate', 'initials' => 'MB', 'src' => null, 'links' => ['linkedin' => '#', 'github' => '#']],
['name' => 'Sasha Okafor', 'role' => 'Product Designer', 'initials' => 'SO', 'src' => null, 'links' => ['x' => '#', 'linkedin' => '#']],
['name' => 'Lena Kovac', 'role' => 'Full-stack Engineer', 'initials' => 'LK', 'src' => null, 'links' => ['x' => '#', 'github' => '#']],
['name' => 'Theo Brandt', 'role' => 'Growth & Marketing', 'initials' => 'TB', 'src' => null, 'links' => ['x' => '#', 'linkedin' => '#']],
['name' => 'Nia Reyes', 'role' => 'Customer Success', 'initials' => 'NR', 'src' => null, 'links' => ['linkedin' => '#']],
];
// 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 space="xl" {{ $attributes }}>
<x-ui.container gutter="sm">
<x-ui.section-heading align="center" overline-style="label" :overline="$eyebrow" :title="$heading" :subtitle="$subheading" />
<ul role="list" class="mt-12 grid grid-cols-2 gap-6 sm:mt-16 lg:grid-cols-4">
@foreach ($members as $member)
<li>
<figure class="group flex flex-col items-center gap-4 text-center" data-slot="team-member">
<div class="relative w-full overflow-hidden rounded-lg">
<div class="flex aspect-[3/4] w-full flex-col items-center justify-center bg-gradient-to-br from-muted to-muted/50">
<x-ui.avatar size="xl" :src="$member['src'] ?? null" :alt="$member['name']" :fallback="$member['initials']" class="ring-2 ring-border ring-offset-2 ring-offset-muted" />
</div>
@if (! empty($member['links']))
<div class="absolute inset-x-0 bottom-0 flex translate-y-2 items-center justify-center gap-2 bg-background/80 py-4 opacity-0 backdrop-blur-sm transition-all duration-200 ease-out group-hover:translate-y-0 group-hover:opacity-100">
<x-ui.social-links :links="$memberLinks($member)" size="sm" variant="outline" shape="full" :label="__('Social links of :name', ['name' => $member['name']])" />
</div>
@endif
</div>
<figcaption class="flex flex-col items-center gap-2">
<span class="text-sm font-semibold text-foreground">{{ __($member['name']) }}</span>
<span class="text-sm text-muted-foreground">{{ __($member['role']) }}</span>
</figcaption>
</figure>
</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.1.2 - Status
- Stable
- License
-
open - Deprecation
- Not deprecated
- Contract
-
v1 - Foundation
-
≥ 1.0.0