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 directory',
'subheading' => 'Everyone who builds, ships, and supports the product — at a glance.',
'members' => null,
])
@php
$members ??= [
[
'name' => 'Avery Mitchell',
'role' => 'Co-founder & CEO',
'initials' => 'AM',
'bio' => 'Sets product direction and keeps everyone honest about shipping value, not features.',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.com/',
'github' => 'https://github.com/',
],
],
[
'name' => 'Jordan Lee',
'role' => 'Head of Engineering',
'initials' => 'JL',
'bio' => 'Owns the architecture and the build pipeline so every release lands clean and reversible.',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.com/',
'github' => 'https://github.com/',
],
],
[
'name' => 'Priya Nair',
'role' => 'Lead Designer',
'initials' => 'PN',
'bio' => 'Turns the token system into interfaces that feel obvious, accessible, and on-brand.',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.com/',
'github' => 'https://github.com/',
],
],
[
'name' => 'Marcus Bell',
'role' => 'Developer Advocate',
'initials' => 'MB',
'bio' => 'Writes the docs, runs the demos, and brings real-world feedback back into the roadmap.',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.com/',
'github' => 'https://github.com/',
],
],
[
'name' => 'Sofia Reyes',
'role' => 'Product Manager',
'initials' => 'SR',
'bio' => 'Keeps the roadmap ruthless and the trade-offs explicit so the team builds the right thing.',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.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 space="xl" {{ $attributes }}>
<x-ui.container size="md" gutter="sm">
<x-ui.section-heading align="start" overline-style="label" :overline="$eyebrow" :title="$heading" :subtitle="$subheading" />
<ul role="list" class="mt-10 sm:mt-12">
@foreach ($members as $member)
<li class="flex flex-col gap-4 border-b border-border py-6 last:border-b-0 sm:flex-row sm:items-center">
<x-ui.avatar
size="lg"
:alt="$member['name']"
:fallback="$member['initials']"
class="shrink-0 ring-2 ring-border ring-offset-2 ring-offset-background"
/>
<div class="flex-1">
<div class="flex flex-wrap items-center gap-x-4 gap-y-2">
<h3 class="text-sm font-semibold text-foreground">{{ __($member['name']) }}</h3>
<x-ui.badge variant="secondary" size="sm">{{ __($member['role']) }}</x-ui.badge>
</div>
@if (! empty($member['bio']))
<p class="mt-2 text-pretty text-sm leading-relaxed text-muted-foreground">{{ __($member['bio']) }}</p>
@endif
</div>
@if (! empty($member['links']))
<x-ui.social-links :links="$memberLinks($member)" size="md" :label="__('Social links of :name', ['name' => $member['name']])" class="sm:ms-auto sm:shrink-0" />
@endif
</li>
@endforeach
</ul>
</x-ui.container>
</x-ui.section>
Installation
php artisan ui:add blocks/team-list-rows
Registry contract
Install confidence
php artisan ui:add blocks/team-list-rows
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-list-rows.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 03 (`team-list-rows`)
The roster as full-width horizontal directory rows — avatar at the start, name with role badge and a one-line bio in the middle, and aria-labelled social icon buttons at the end — each row separated by a bottom border, the last row borderless.
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-list-rows
```
## Render it
```blade
<x-blocks.team-list-rows />
```
## Props
- `eyebrow` (string, default `Our team`) — Small label shown above the heading.
- `heading` (string, default `The people directory`) — Section heading.
- `subheading` (string, default `Everyone who builds, ships, and supports the product — at a glance.`) — Supporting copy under the heading.
- `members` (mixed|null, default `null`) — Team member entries with name, role, initials, bio and social links; null falls back to sample data.
## Use when
- Listing the team as full-width horizontal directory rows rather than a grid.
- Scanning a long roster faster with a compact row list than with cards.
## Avoid when
- Wanting a visual card grid instead of list rows; use team-grid instead.
## Rules
- Render the installed block with `<x-blocks.team-list-rows />` 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-list-rows
- Registry JSON (files, props, contract): https://brokui.dev/r/open/blocks/team-list-rows.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
- Listing the team as full-width horizontal directory rows rather than a grid.
- Scanning a long roster faster with a compact row list than with cards.
Avoid when
- Wanting a visual card grid instead of list rows; use team-grid instead.
Anti-patterns
- Do not replace semantic props with conflicting utility classes.
- Do not remove labels, focus styles, or state attributes.
Usage
Render the block as a component, passing data where useful:
<x-blocks.team-list-rows />
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 directory',
'subheading' => 'Everyone who builds, ships, and supports the product — at a glance.',
'members' => null,
])
@php
$members ??= [
[
'name' => 'Avery Mitchell',
'role' => 'Co-founder & CEO',
'initials' => 'AM',
'bio' => 'Sets product direction and keeps everyone honest about shipping value, not features.',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.com/',
'github' => 'https://github.com/',
],
],
[
'name' => 'Jordan Lee',
'role' => 'Head of Engineering',
'initials' => 'JL',
'bio' => 'Owns the architecture and the build pipeline so every release lands clean and reversible.',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.com/',
'github' => 'https://github.com/',
],
],
[
'name' => 'Priya Nair',
'role' => 'Lead Designer',
'initials' => 'PN',
'bio' => 'Turns the token system into interfaces that feel obvious, accessible, and on-brand.',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.com/',
'github' => 'https://github.com/',
],
],
[
'name' => 'Marcus Bell',
'role' => 'Developer Advocate',
'initials' => 'MB',
'bio' => 'Writes the docs, runs the demos, and brings real-world feedback back into the roadmap.',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.com/',
'github' => 'https://github.com/',
],
],
[
'name' => 'Sofia Reyes',
'role' => 'Product Manager',
'initials' => 'SR',
'bio' => 'Keeps the roadmap ruthless and the trade-offs explicit so the team builds the right thing.',
'links' => [
'linkedin' => 'https://www.linkedin.com/',
'x' => 'https://x.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 space="xl" {{ $attributes }}>
<x-ui.container size="md" gutter="sm">
<x-ui.section-heading align="start" overline-style="label" :overline="$eyebrow" :title="$heading" :subtitle="$subheading" />
<ul role="list" class="mt-10 sm:mt-12">
@foreach ($members as $member)
<li class="flex flex-col gap-4 border-b border-border py-6 last:border-b-0 sm:flex-row sm:items-center">
<x-ui.avatar
size="lg"
:alt="$member['name']"
:fallback="$member['initials']"
class="shrink-0 ring-2 ring-border ring-offset-2 ring-offset-background"
/>
<div class="flex-1">
<div class="flex flex-wrap items-center gap-x-4 gap-y-2">
<h3 class="text-sm font-semibold text-foreground">{{ __($member['name']) }}</h3>
<x-ui.badge variant="secondary" size="sm">{{ __($member['role']) }}</x-ui.badge>
</div>
@if (! empty($member['bio']))
<p class="mt-2 text-pretty text-sm leading-relaxed text-muted-foreground">{{ __($member['bio']) }}</p>
@endif
</div>
@if (! empty($member['links']))
<x-ui.social-links :links="$memberLinks($member)" size="md" :label="__('Social links of :name', ['name' => $member['name']])" class="sm:ms-auto sm:shrink-0" />
@endif
</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.3 - Status
- Stable
- License
-
open - Deprecation
- Not deprecated
- Contract
-
v1 - Foundation
-
≥ 1.0.0