Skip to content
Brok UI

Loading…

No results

Features

Open source

Feature sections — icon grids, bordered cards, alternating media rows, bento layouts, a services variant and an industries grid.

Preview

8 of 23

resources/views/blocks/features-checklist.blade.php Blade
@props([
    'eyebrow'  => 'Everything you need',
    'heading'  => 'Built for modern teams',
    'lead'     => 'A complete toolkit that helps your team ship faster, collaborate better, and scale with confidence.',
    'note'     => '',
    'features' => null,
])

@php
    $features ??= [
        ['title' => 'Instant deployment', 'description' => 'Ship to production in seconds with zero-downtime releases.'],
        ['title' => 'Role-based access', 'description' => 'Fine-grained permissions keep every team member in their lane.'],
        ['title' => 'End-to-end encryption', 'description' => 'All data is encrypted in transit and at rest by default.'],
        ['title' => 'Audit logs', 'description' => 'Every action is recorded so you always know who did what.'],
        ['title' => 'Automated backups', 'description' => 'Daily snapshots with one-click restore keep your data safe.'],
        ['title' => 'API-first design', 'description' => 'Every feature is available via a clean, versioned REST API.'],
        ['title' => '99.9% uptime SLA', 'description' => 'Redundant infrastructure ensures your service is always on.'],
        ['title' => 'Priority support', 'description' => 'Get answers from real engineers, not bots, within one hour.'],
    ];
@endphp

<x-ui.section space="xl" {{ $attributes }}>
    <x-ui.container gutter="sm">
        <div class="grid gap-12 lg:grid-cols-2 lg:items-start lg:gap-16">
            <div class="flex flex-col gap-6">
                <x-ui.badge variant="outline" class="w-fit">{{ __($eyebrow) }}</x-ui.badge>
                <h2 class="text-3xl font-bold tracking-tight sm:text-4xl">{{ __($heading) }}</h2>
                <p class="text-lg leading-relaxed text-muted-foreground">{{ __($lead) }}</p>
                @if ($note)
                    <p class="border-s-2 border-border ps-4 text-sm italic text-muted-foreground">{{ __($note) }}</p>
                @endif
            </div>

            <div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
                @foreach ($features as $feature)
                    <div class="flex flex-col gap-2 rounded-lg border border-border bg-card p-6">
                        <span class="inline-flex w-fit items-center justify-center rounded-md bg-primary/10 p-2 text-primary">
                            <svg viewBox="0 0 16 16" fill="currentColor" class="size-4 shrink-0" aria-hidden="true">
                                <path fill-rule="evenodd" d="M12.416 3.376a.75.75 0 0 1 .208 1.04l-5 7.5a.75.75 0 0 1-1.154.114l-3-3a.75.75 0 0 1 1.06-1.06l2.353 2.353 4.493-6.74a.75.75 0 0 1 1.04-.207Z" clip-rule="evenodd" />
                            </svg>
                        </span>
                        <h3 class="text-sm font-semibold leading-snug">{{ __($feature['title']) }}</h3>
                        <p class="text-sm leading-relaxed text-muted-foreground">{{ __($feature['description']) }}</p>
                    </div>
                @endforeach
            </div>
        </div>
    </x-ui.container>
</x-ui.section>

Installation

terminal
php artisan ui:add blocks/features-checklist

Installs these dependencies automatically:

Registry contract

Install confidence

php artisan ui:add blocks/features-checklist 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-checklist.blade.php

Registry dependencies

badge container section

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.

features-checklist.md
# Brok UI block: Features List (`features-checklist`)

A two-column feature section pairing an intro column with a compact two-up checklist of icon-chip feature cards, scannable rather than card-heavy.

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-checklist
```

## Render it

```blade
<x-blocks.features-checklist />
```

## Props

- `eyebrow` (string, default `Everything you need`)
- `heading` (string, default `Built for modern teams`)
- `lead` (string, default `A complete toolkit that helps your team ship faster, collaborate better, and scale with confidence.`)
- `note` (string)
- `features` (mixed|null, default `null`)

## Use when

- Pairing an intro column with a compact two-up checklist of icon-chip feature cards, scannable rather than card-heavy.
- Fitting a feature set that reads better as a checklist than as a full card grid.

## Avoid when

- Use features-grid or features-cards for a full card grid instead of a compact checklist.

## Rules

- Render the installed block with `<x-blocks.features-checklist />` 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-checklist
- Registry JSON (files, props, contract): https://brokui.dev/r/open/blocks/features-checklist.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

  • Pairing an intro column with a compact two-up checklist of icon-chip feature cards, scannable rather than card-heavy.
  • Fitting a feature set that reads better as a checklist than as a full card grid.

Avoid when

  • Use features-grid or features-cards for a full card grid instead of a compact checklist.

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:

resources/views/welcome.blade.php Blade
<x-blocks.features-checklist />

Built from primitives

Composes <brok:*> Semantic tokens Re-themeable RTL-ready

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.

resources/views/blocks/features-checklist.blade.php Blade
@props([
    'eyebrow'  => 'Everything you need',
    'heading'  => 'Built for modern teams',
    'lead'     => 'A complete toolkit that helps your team ship faster, collaborate better, and scale with confidence.',
    'note'     => '',
    'features' => null,
])

@php
    $features ??= [
        ['title' => 'Instant deployment', 'description' => 'Ship to production in seconds with zero-downtime releases.'],
        ['title' => 'Role-based access', 'description' => 'Fine-grained permissions keep every team member in their lane.'],
        ['title' => 'End-to-end encryption', 'description' => 'All data is encrypted in transit and at rest by default.'],
        ['title' => 'Audit logs', 'description' => 'Every action is recorded so you always know who did what.'],
        ['title' => 'Automated backups', 'description' => 'Daily snapshots with one-click restore keep your data safe.'],
        ['title' => 'API-first design', 'description' => 'Every feature is available via a clean, versioned REST API.'],
        ['title' => '99.9% uptime SLA', 'description' => 'Redundant infrastructure ensures your service is always on.'],
        ['title' => 'Priority support', 'description' => 'Get answers from real engineers, not bots, within one hour.'],
    ];
@endphp

<x-ui.section space="xl" {{ $attributes }}>
    <x-ui.container gutter="sm">
        <div class="grid gap-12 lg:grid-cols-2 lg:items-start lg:gap-16">
            <div class="flex flex-col gap-6">
                <x-ui.badge variant="outline" class="w-fit">{{ __($eyebrow) }}</x-ui.badge>
                <h2 class="text-3xl font-bold tracking-tight sm:text-4xl">{{ __($heading) }}</h2>
                <p class="text-lg leading-relaxed text-muted-foreground">{{ __($lead) }}</p>
                @if ($note)
                    <p class="border-s-2 border-border ps-4 text-sm italic text-muted-foreground">{{ __($note) }}</p>
                @endif
            </div>

            <div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
                @foreach ($features as $feature)
                    <div class="flex flex-col gap-2 rounded-lg border border-border bg-card p-6">
                        <span class="inline-flex w-fit items-center justify-center rounded-md bg-primary/10 p-2 text-primary">
                            <svg viewBox="0 0 16 16" fill="currentColor" class="size-4 shrink-0" aria-hidden="true">
                                <path fill-rule="evenodd" d="M12.416 3.376a.75.75 0 0 1 .208 1.04l-5 7.5a.75.75 0 0 1-1.154.114l-3-3a.75.75 0 0 1 1.06-1.06l2.353 2.353 4.493-6.74a.75.75 0 0 1 1.04-.207Z" clip-rule="evenodd" />
                            </svg>
                        </span>
                        <h3 class="text-sm font-semibold leading-snug">{{ __($feature['title']) }}</h3>
                        <p class="text-sm leading-relaxed text-muted-foreground">{{ __($feature['description']) }}</p>
                    </div>
                @endforeach
            </div>
        </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.5
Status
Stable
License
open
Deprecation
Not deprecated
Contract
v1
Foundation
≥ 1.0.0