Features
Feature sections — icon grids, bordered cards, alternating media rows, bento layouts, a services variant and an industries grid.
Preview
@props([
'eyebrow' => 'Features',
'heading' => 'Built to cover your needs',
'subheading' => 'Everything you need to design, ship, and scale — in one cohesive, fully themeable system.',
'features' => null,
])
@php
$features ??= [
[
'icon' => 'M13 10V3L4 14h7v7l9-11h-7z',
'title' => 'Customizable',
'description' => 'Extensive options let you tailor every aspect of each block to meet your specific needs.',
],
[
'icon' => 'M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z',
'title' => 'Full control',
'description' => 'From design elements to functionality, shape a uniquely personalized experience.',
],
[
'icon' => 'M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z',
'title' => 'Powered by AI',
'description' => 'Smart building blocks that adapt to your content and accelerate your workflow.',
],
];
@endphp
<x-ui.section 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-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-lg text-muted-foreground">{{ __($subheading) }}</p>
@endif
</div>
<x-ui.card class="mx-auto mt-12 grid max-w-sm divide-y overflow-hidden md:mt-16 md:max-w-full md:grid-cols-3 md:divide-x md:divide-y-0 rtl:md:divide-x-reverse">
@foreach ($features as $feature)
<div class="flex flex-col items-center gap-4 p-8 text-center">
<span class="flex size-12 items-center justify-center rounded-md border border-border bg-muted text-primary">
<svg class="size-6" fill="none" stroke="currentColor" stroke-width="1.75" viewBox="0 0 24 24" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" d="{{ $feature['icon'] }}" />
</svg>
</span>
<h3 class="text-sm font-semibold text-foreground">{{ __($feature['title']) }}</h3>
<p class="text-pretty text-sm leading-relaxed text-muted-foreground">{{ __($feature['description']) }}</p>
</div>
@endforeach
</x-ui.card>
</div>
</x-ui.section>
Installation
php artisan ui:add blocks/features-divided
Registry contract
Install confidence
php artisan ui:add blocks/features-divided
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/features-divided.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: Features Divided (`features-divided`)
A centered eyebrow, heading and lead above a single bordered card divided into three feature cells, each with a token icon tile, title and description.
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-divided
```
## Render it
```blade
<x-blocks.features-divided />
```
## Props
- `eyebrow` (string, default `Features`)
- `heading` (string, default `Built to cover your needs`)
- `subheading` (string, default `Everything you need to design, ship, and scale — in one cohesive, fully themeable system.`)
- `features` (mixed|null, default `null`)
## Use when
- Dividing a single bordered card into three feature cells, each with an icon tile, title and description.
- Fitting a compact feature set that should read as one unified card rather than separate cards.
## Avoid when
- Use features-grid for separate grid items instead of one divided card.
## Rules
- Render the installed block with `<x-blocks.features-divided />` 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-divided
- Registry JSON (files, props, contract): https://brokui.dev/r/open/blocks/features-divided.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
- Dividing a single bordered card into three feature cells, each with an icon tile, title and description.
- Fitting a compact feature set that should read as one unified card rather than separate cards.
Avoid when
- Use features-grid for separate grid items instead of one divided card.
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-divided />
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' => 'Features',
'heading' => 'Built to cover your needs',
'subheading' => 'Everything you need to design, ship, and scale — in one cohesive, fully themeable system.',
'features' => null,
])
@php
$features ??= [
[
'icon' => 'M13 10V3L4 14h7v7l9-11h-7z',
'title' => 'Customizable',
'description' => 'Extensive options let you tailor every aspect of each block to meet your specific needs.',
],
[
'icon' => 'M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z',
'title' => 'Full control',
'description' => 'From design elements to functionality, shape a uniquely personalized experience.',
],
[
'icon' => 'M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z',
'title' => 'Powered by AI',
'description' => 'Smart building blocks that adapt to your content and accelerate your workflow.',
],
];
@endphp
<x-ui.section 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-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-lg text-muted-foreground">{{ __($subheading) }}</p>
@endif
</div>
<x-ui.card class="mx-auto mt-12 grid max-w-sm divide-y overflow-hidden md:mt-16 md:max-w-full md:grid-cols-3 md:divide-x md:divide-y-0 rtl:md:divide-x-reverse">
@foreach ($features as $feature)
<div class="flex flex-col items-center gap-4 p-8 text-center">
<span class="flex size-12 items-center justify-center rounded-md border border-border bg-muted text-primary">
<svg class="size-6" fill="none" stroke="currentColor" stroke-width="1.75" viewBox="0 0 24 24" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" d="{{ $feature['icon'] }}" />
</svg>
</span>
<h3 class="text-sm font-semibold text-foreground">{{ __($feature['title']) }}</h3>
<p class="text-pretty text-sm leading-relaxed text-muted-foreground">{{ __($feature['description']) }}</p>
</div>
@endforeach
</x-ui.card>
</div>
</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