Features
Feature sections — icon grids, bordered cards, alternating media rows, bento layouts, a services variant and an industries grid.
Preview
@props([
'eyebrow' => 'Introducing',
'heading' => 'One workspace for your whole product',
'subheading' => 'Plan, build, and ship without switching tabs. Here is everything the product does, laid out at a glance.',
'hero' => null,
'capabilities' => null,
'metrics' => null,
'cta' => null,
])
@php
$hero ??= [
'badge' => 'New in 2.0',
'title' => 'A canvas that keeps everyone in sync',
'caption' => 'Real-time boards, docs, and reviews — one shared surface for the whole team.',
];
$capabilities ??= [
[
'title' => 'Instant search',
'description' => 'Find any doc, task, or teammate in milliseconds.',
],
[
'title' => 'Automations',
'description' => 'Trigger routine work so nothing falls through the cracks.',
],
[
'title' => 'Roadmaps',
'description' => 'Turn scattered ideas into a plan everyone can see.',
],
[
'title' => 'Granular roles',
'description' => 'Share the right access with the right people, every time.',
],
];
$metrics ??= [
['value' => '40%', 'label' => 'Faster cycle time'],
['value' => '12k+', 'label' => 'Teams onboard'],
['value' => '4.9', 'label' => 'Average rating'],
];
$cta ??= ['label' => 'Start free trial', 'href' => '#'];
@endphp
<x-ui.section data-slot="bento-showcase" space="xl" {{ $attributes }}>
<x-ui.container gutter="sm">
<div class="mx-auto max-w-2xl text-center">
@if ($eyebrow)
<x-ui.badge variant="secondary" class="mb-4">{{ __($eyebrow) }}</x-ui.badge>
@endif
<h2 class="text-balance text-3xl font-bold tracking-tight sm:text-4xl">{{ __($heading) }}</h2>
<p class="mt-4 text-pretty text-xl text-muted-foreground">{{ __($subheading) }}</p>
</div>
<x-ui.bento :cols="3" :gap="6" class="mt-12">
{{-- Dominant hero product screenshot placeholder --}}
<x-ui.bento.item :colSpan="2" :rowSpan="2" class="flex flex-col">
<div class="flex flex-wrap items-start justify-between gap-4">
<div>
@if (! empty($hero['badge']))
<x-ui.badge variant="default" class="mb-4">{{ __($hero['badge']) }}</x-ui.badge>
@endif
<h3 class="text-xl font-semibold tracking-tight">{{ __($hero['title']) }}</h3>
<p class="mt-2 max-w-md text-sm text-muted-foreground">{{ __($hero['caption']) }}</p>
</div>
<x-ui.button :href="$cta['href']" size="sm" :withArrow="true">{{ __($cta['label']) }}</x-ui.button>
</div>
{{-- Product screenshot placeholder in window chrome --}}
<x-ui.mockup type="window" size="sm" class="mt-6 flex flex-1 flex-col" role="img" aria-label="{{ __('Product screenshot placeholder') }}">
<div class="flex h-full gap-4 bg-gradient-to-br from-primary/10 to-transparent p-6" aria-hidden="true">
<div class="hidden w-1/4 flex-col gap-2 sm:flex">
<span class="h-3 w-full rounded bg-muted-foreground/20"></span>
<span class="h-3 w-3/4 rounded bg-muted-foreground/15"></span>
<span class="h-3 w-5/6 rounded bg-muted-foreground/15"></span>
<span class="h-3 w-2/3 rounded bg-muted-foreground/15"></span>
</div>
<div class="flex flex-1 flex-col gap-4">
<span class="h-24 w-full rounded-lg bg-background/70"></span>
<div class="grid grid-cols-2 gap-4">
<span class="h-16 rounded-lg bg-background/70"></span>
<span class="h-16 rounded-lg bg-background/70"></span>
</div>
</div>
</div>
</x-ui.mockup>
</x-ui.bento.item>
{{-- Supporting capability tiles --}}
@foreach ($capabilities as $capability)
<x-ui.bento.item
:title="__($capability['title'])"
:description="__($capability['description'])"
/>
@endforeach
{{-- Metrics strip tile --}}
<x-ui.bento.item :colSpan="2" class="bg-primary/5">
<div class="grid grid-cols-3 gap-4 text-center">
@foreach ($metrics as $metric)
<div>
<span class="sr-only">{{ __($metric['label']) }}</span>
<div class="text-3xl font-bold tracking-tight text-foreground sm:text-4xl">{{ $metric['value'] }}</div>
<p class="mt-2 text-sm text-muted-foreground">{{ __($metric['label']) }}</p>
</div>
@endforeach
</div>
</x-ui.bento.item>
</x-ui.bento>
</x-ui.container>
</x-ui.section>
Installation
php artisan ui:add blocks/features-bento-showcase
Registry contract
Install confidence
php artisan ui:add blocks/features-bento-showcase
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.5
- License
- open
- Stability
- stable
- Contract
- v1
- Foundation
- ≥ 1.0.0
| Type | Generated target |
|---|---|
| blade | resources/views/blocks/features-bento-showcase.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: Bento Showcase (`features-bento-showcase`)
A product-focused bento centered on a dominant hero screenshot placeholder with a badge, supporting capability tiles, and a big-numbers metrics strip.
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-bento-showcase
```
## Render it
```blade
<x-blocks.features-bento-showcase />
```
## Props
- `eyebrow` (string, default `Introducing`)
- `heading` (string, default `One workspace for your whole product`)
- `subheading` (string, default `Plan, build, and ship without switching tabs. Here is everything the product does, laid out at a glance.`)
- `hero` (mixed|null, default `null`)
- `capabilities` (mixed|null, default `null`)
- `metrics` (mixed|null, default `null`)
- `cta` (mixed|null, default `null`)
## Use when
- Centring a bento layout on one dominant hero screenshot placeholder, badge and supporting capability tiles.
- Closing the grid with a big-numbers metrics strip beneath the hero tile.
## Avoid when
- Use features-bento-grid for an editorial mix of stat/media/testimonial tiles, or features-bento-tiles for a feature-focused bento grid.
## Rules
- Render the installed block with `<x-blocks.features-bento-showcase />` 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-bento-showcase
- Registry JSON (files, props, contract): https://brokui.dev/r/open/blocks/features-bento-showcase.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
- Centring a bento layout on one dominant hero screenshot placeholder, badge and supporting capability tiles.
- Closing the grid with a big-numbers metrics strip beneath the hero tile.
Avoid when
- Use features-bento-grid for an editorial mix of stat/media/testimonial tiles, or features-bento-tiles for a feature-focused bento grid.
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.features-bento-showcase />
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' => 'Introducing',
'heading' => 'One workspace for your whole product',
'subheading' => 'Plan, build, and ship without switching tabs. Here is everything the product does, laid out at a glance.',
'hero' => null,
'capabilities' => null,
'metrics' => null,
'cta' => null,
])
@php
$hero ??= [
'badge' => 'New in 2.0',
'title' => 'A canvas that keeps everyone in sync',
'caption' => 'Real-time boards, docs, and reviews — one shared surface for the whole team.',
];
$capabilities ??= [
[
'title' => 'Instant search',
'description' => 'Find any doc, task, or teammate in milliseconds.',
],
[
'title' => 'Automations',
'description' => 'Trigger routine work so nothing falls through the cracks.',
],
[
'title' => 'Roadmaps',
'description' => 'Turn scattered ideas into a plan everyone can see.',
],
[
'title' => 'Granular roles',
'description' => 'Share the right access with the right people, every time.',
],
];
$metrics ??= [
['value' => '40%', 'label' => 'Faster cycle time'],
['value' => '12k+', 'label' => 'Teams onboard'],
['value' => '4.9', 'label' => 'Average rating'],
];
$cta ??= ['label' => 'Start free trial', 'href' => '#'];
@endphp
<x-ui.section data-slot="bento-showcase" space="xl" {{ $attributes }}>
<x-ui.container gutter="sm">
<div class="mx-auto max-w-2xl text-center">
@if ($eyebrow)
<x-ui.badge variant="secondary" class="mb-4">{{ __($eyebrow) }}</x-ui.badge>
@endif
<h2 class="text-balance text-3xl font-bold tracking-tight sm:text-4xl">{{ __($heading) }}</h2>
<p class="mt-4 text-pretty text-xl text-muted-foreground">{{ __($subheading) }}</p>
</div>
<x-ui.bento :cols="3" :gap="6" class="mt-12">
{{-- Dominant hero product screenshot placeholder --}}
<x-ui.bento.item :colSpan="2" :rowSpan="2" class="flex flex-col">
<div class="flex flex-wrap items-start justify-between gap-4">
<div>
@if (! empty($hero['badge']))
<x-ui.badge variant="default" class="mb-4">{{ __($hero['badge']) }}</x-ui.badge>
@endif
<h3 class="text-xl font-semibold tracking-tight">{{ __($hero['title']) }}</h3>
<p class="mt-2 max-w-md text-sm text-muted-foreground">{{ __($hero['caption']) }}</p>
</div>
<x-ui.button :href="$cta['href']" size="sm" :withArrow="true">{{ __($cta['label']) }}</x-ui.button>
</div>
{{-- Product screenshot placeholder in window chrome --}}
<x-ui.mockup type="window" size="sm" class="mt-6 flex flex-1 flex-col" role="img" aria-label="{{ __('Product screenshot placeholder') }}">
<div class="flex h-full gap-4 bg-gradient-to-br from-primary/10 to-transparent p-6" aria-hidden="true">
<div class="hidden w-1/4 flex-col gap-2 sm:flex">
<span class="h-3 w-full rounded bg-muted-foreground/20"></span>
<span class="h-3 w-3/4 rounded bg-muted-foreground/15"></span>
<span class="h-3 w-5/6 rounded bg-muted-foreground/15"></span>
<span class="h-3 w-2/3 rounded bg-muted-foreground/15"></span>
</div>
<div class="flex flex-1 flex-col gap-4">
<span class="h-24 w-full rounded-lg bg-background/70"></span>
<div class="grid grid-cols-2 gap-4">
<span class="h-16 rounded-lg bg-background/70"></span>
<span class="h-16 rounded-lg bg-background/70"></span>
</div>
</div>
</div>
</x-ui.mockup>
</x-ui.bento.item>
{{-- Supporting capability tiles --}}
@foreach ($capabilities as $capability)
<x-ui.bento.item
:title="__($capability['title'])"
:description="__($capability['description'])"
/>
@endforeach
{{-- Metrics strip tile --}}
<x-ui.bento.item :colSpan="2" class="bg-primary/5">
<div class="grid grid-cols-3 gap-4 text-center">
@foreach ($metrics as $metric)
<div>
<span class="sr-only">{{ __($metric['label']) }}</span>
<div class="text-3xl font-bold tracking-tight text-foreground sm:text-4xl">{{ $metric['value'] }}</div>
<p class="mt-2 text-sm text-muted-foreground">{{ __($metric['label']) }}</p>
</div>
@endforeach
</div>
</x-ui.bento.item>
</x-ui.bento>
</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.5 - Status
- Stable
- License
-
open - Deprecation
- Not deprecated
- Contract
-
v1 - Foundation
-
≥ 1.0.0