Features
Feature sections — icon grids, bordered cards, alternating media rows, bento layouts, a services variant and an industries grid.
Preview
@props([
'eyebrow' => 'What we offer',
'heading' => 'End-to-end services that move your product forward',
'subheading' => 'From discovery to deployment, we cover every layer so you can focus on what matters — your customers.',
'services' => null,
])
@php
$services ??= [
['badge' => 'Strategy', 'title' => 'Product Strategy & Discovery', 'description' => 'We turn ambiguous goals into a clear, validated roadmap — aligning business objectives, user research, and technical constraints into a plan your whole team can execute.', 'points' => ['Stakeholder workshops & opportunity mapping', 'Competitive landscape and positioning audit', 'Prioritised backlog with measurable success criteria'], 'href' => '#', 'icon' => 'compass'],
['badge' => 'Design', 'title' => 'UI & UX Design', 'description' => 'Accessible, on-brand interfaces grounded in a real design-token system — prototyped fast, tested with real users, and handed off pixel-perfect.', 'points' => ['Component library built on your token system', 'Usability testing with representative users', 'Annotated handoff with motion specs'], 'href' => '#', 'icon' => 'palette'],
['badge' => 'Engineering', 'title' => 'Full-Stack Web Engineering', 'description' => 'Fast, maintainable applications you own outright — clean Laravel and Blade, no runtime lock-in, and an architecture your team can extend.', 'points' => ['Laravel API and Blade component authoring', 'Core Web Vitals and accessibility compliance', 'Automated test suites and CI/CD pipelines'], 'href' => '#', 'icon' => 'code'],
];
$icons = [
'compass' => '<circle cx="12" cy="12" r="9"/><path d="m15.5 8.5-2.4 5.6-5.6 2.4 2.4-5.6 5.6-2.4Z"/>',
'palette' => '<circle cx="13.5" cy="6.5" r="1"/><circle cx="17.5" cy="10.5" r="1"/><circle cx="8.5" cy="7.5" r="1"/><circle cx="6.5" cy="12.5" r="1"/><path d="M12 2a10 10 0 0 0 0 20 2.5 2.5 0 0 0 2-4 2.5 2.5 0 0 1 2-4h2a4 4 0 0 0 4-4 10 10 0 0 0-10-8Z"/>',
'code' => '<path d="m16 18 6-6-6-6"/><path d="m8 6-6 6 6 6"/><path d="m14.5 4-5 16"/>',
];
@endphp
<x-ui.section space="xl" {{ $attributes }}>
<x-ui.container gutter="sm">
<div class="mx-auto max-w-2xl text-center">
@if ($eyebrow)<p class="text-sm font-semibold uppercase tracking-widest 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-sm text-muted-foreground">{{ __($subheading) }}</p>@endif
</div>
<div class="mt-16 flex flex-col gap-16 sm:mt-20 sm:gap-24">
@foreach ($services as $service)
@php $iconPath = $icons[$service['icon']] ?? $icons['compass']; @endphp
<div class="grid grid-cols-1 items-center gap-8 lg:grid-cols-2 lg:gap-16">
<div @class(['order-first', 'lg:order-last' => $loop->even])>
<div class="relative flex aspect-video items-center justify-center overflow-hidden rounded-lg bg-gradient-to-br from-primary/20 via-accent/30 to-secondary/20">
<div class="absolute inset-0 rounded-lg border border-border/40" aria-hidden="true"></div>
<span class="flex size-20 items-center justify-center rounded-lg bg-background/70 shadow-sm backdrop-blur-sm" aria-hidden="true">
<svg class="size-10 text-primary" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">{!! $iconPath !!}</svg>
</span>
</div>
</div>
<div @class(['order-last', 'lg:order-first' => $loop->even])>
<div class="flex items-center gap-4">
<x-ui.icon.tile>
<svg class="size-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">{!! $iconPath !!}</svg>
</x-ui.icon.tile>
@if (! empty($service['badge']))<x-ui.badge variant="secondary">{{ __($service['badge']) }}</x-ui.badge>@endif
</div>
<h3 class="mt-4 text-2xl font-bold tracking-tight text-foreground sm:text-3xl">{{ __($service['title']) }}</h3>
<p class="mt-4 text-pretty text-sm leading-relaxed text-muted-foreground sm:text-base">{{ __($service['description']) }}</p>
@if (! empty($service['points']))
<x-ui.check-list marker="chip" class="mt-6">
@foreach ($service['points'] as $point)
<x-ui.check-list.item>{{ __($point) }}</x-ui.check-list.item>
@endforeach
</x-ui.check-list>
@endif
<div class="mt-8">
<x-ui.button variant="outline" :href="$service['href'] ?? '#'" :with-arrow="true">{{ __('Learn more') }}</x-ui.button>
</div>
</div>
</div>
@endforeach
</div>
</x-ui.container>
</x-ui.section>
Installation
php artisan ui:add blocks/features-services-rows
Registry contract
Install confidence
php artisan ui:add blocks/features-services-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.0.7
- License
- open
- Stability
- stable
- Contract
- v1
- Foundation
- ≥ 1.0.0
| Type | Generated target |
|---|---|
| blade | resources/views/blocks/features-services-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: Services List (`features-services-rows`)
A services section as alternating media rows, each pairing a media panel with an icon, title, sub-point list and learn-more link.
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/features-services-rows
```
## Render it
```blade
<x-blocks.features-services-rows />
```
## Props
- `eyebrow` (string, default `What we offer`) — Small label shown above the heading.
- `heading` (string, default `End-to-end services that move your product forward`) — Section heading.
- `subheading` (string, default `From discovery to deployment, we cover every layer so you can focus on what matters — your customers.`) — Supporting copy under the heading.
- `services` (mixed|null, default `null`) — Service entries with a badge, title, description, sub-point list and icon; null falls back to sample data.
## Use when
- Presenting services as alternating media rows, each pairing an icon and sub-point list with a media panel.
- Wanting each service to have more room to explain sub-points than a grid card allows.
## Avoid when
- Wanting a compact scannable grid instead of full rows; use features-services-cards instead.
## Rules
- Render the installed block with `<x-blocks.features-services-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/features-services-rows
- Registry JSON (files, props, contract): https://brokui.dev/r/open/blocks/features-services-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
- Presenting services as alternating media rows, each pairing an icon and sub-point list with a media panel.
- Wanting each service to have more room to explain sub-points than a grid card allows.
Avoid when
- Wanting a compact scannable grid instead of full rows; use features-services-cards 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.features-services-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' => 'What we offer',
'heading' => 'End-to-end services that move your product forward',
'subheading' => 'From discovery to deployment, we cover every layer so you can focus on what matters — your customers.',
'services' => null,
])
@php
$services ??= [
['badge' => 'Strategy', 'title' => 'Product Strategy & Discovery', 'description' => 'We turn ambiguous goals into a clear, validated roadmap — aligning business objectives, user research, and technical constraints into a plan your whole team can execute.', 'points' => ['Stakeholder workshops & opportunity mapping', 'Competitive landscape and positioning audit', 'Prioritised backlog with measurable success criteria'], 'href' => '#', 'icon' => 'compass'],
['badge' => 'Design', 'title' => 'UI & UX Design', 'description' => 'Accessible, on-brand interfaces grounded in a real design-token system — prototyped fast, tested with real users, and handed off pixel-perfect.', 'points' => ['Component library built on your token system', 'Usability testing with representative users', 'Annotated handoff with motion specs'], 'href' => '#', 'icon' => 'palette'],
['badge' => 'Engineering', 'title' => 'Full-Stack Web Engineering', 'description' => 'Fast, maintainable applications you own outright — clean Laravel and Blade, no runtime lock-in, and an architecture your team can extend.', 'points' => ['Laravel API and Blade component authoring', 'Core Web Vitals and accessibility compliance', 'Automated test suites and CI/CD pipelines'], 'href' => '#', 'icon' => 'code'],
];
$icons = [
'compass' => '<circle cx="12" cy="12" r="9"/><path d="m15.5 8.5-2.4 5.6-5.6 2.4 2.4-5.6 5.6-2.4Z"/>',
'palette' => '<circle cx="13.5" cy="6.5" r="1"/><circle cx="17.5" cy="10.5" r="1"/><circle cx="8.5" cy="7.5" r="1"/><circle cx="6.5" cy="12.5" r="1"/><path d="M12 2a10 10 0 0 0 0 20 2.5 2.5 0 0 0 2-4 2.5 2.5 0 0 1 2-4h2a4 4 0 0 0 4-4 10 10 0 0 0-10-8Z"/>',
'code' => '<path d="m16 18 6-6-6-6"/><path d="m8 6-6 6 6 6"/><path d="m14.5 4-5 16"/>',
];
@endphp
<x-ui.section space="xl" {{ $attributes }}>
<x-ui.container gutter="sm">
<div class="mx-auto max-w-2xl text-center">
@if ($eyebrow)<p class="text-sm font-semibold uppercase tracking-widest 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-sm text-muted-foreground">{{ __($subheading) }}</p>@endif
</div>
<div class="mt-16 flex flex-col gap-16 sm:mt-20 sm:gap-24">
@foreach ($services as $service)
@php $iconPath = $icons[$service['icon']] ?? $icons['compass']; @endphp
<div class="grid grid-cols-1 items-center gap-8 lg:grid-cols-2 lg:gap-16">
<div @class(['order-first', 'lg:order-last' => $loop->even])>
<div class="relative flex aspect-video items-center justify-center overflow-hidden rounded-lg bg-gradient-to-br from-primary/20 via-accent/30 to-secondary/20">
<div class="absolute inset-0 rounded-lg border border-border/40" aria-hidden="true"></div>
<span class="flex size-20 items-center justify-center rounded-lg bg-background/70 shadow-sm backdrop-blur-sm" aria-hidden="true">
<svg class="size-10 text-primary" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">{!! $iconPath !!}</svg>
</span>
</div>
</div>
<div @class(['order-last', 'lg:order-first' => $loop->even])>
<div class="flex items-center gap-4">
<x-ui.icon.tile>
<svg class="size-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">{!! $iconPath !!}</svg>
</x-ui.icon.tile>
@if (! empty($service['badge']))<x-ui.badge variant="secondary">{{ __($service['badge']) }}</x-ui.badge>@endif
</div>
<h3 class="mt-4 text-2xl font-bold tracking-tight text-foreground sm:text-3xl">{{ __($service['title']) }}</h3>
<p class="mt-4 text-pretty text-sm leading-relaxed text-muted-foreground sm:text-base">{{ __($service['description']) }}</p>
@if (! empty($service['points']))
<x-ui.check-list marker="chip" class="mt-6">
@foreach ($service['points'] as $point)
<x-ui.check-list.item>{{ __($point) }}</x-ui.check-list.item>
@endforeach
</x-ui.check-list>
@endif
<div class="mt-8">
<x-ui.button variant="outline" :href="$service['href'] ?? '#'" :with-arrow="true">{{ __('Learn more') }}</x-ui.button>
</div>
</div>
</div>
@endforeach
</div>
</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.7 - Status
- Stable
- License
-
open - Deprecation
- Not deprecated
- Contract
-
v1 - Foundation
-
≥ 1.0.0