Dot Matrix Board
A retro LED display-board hero section built around an animated dot-matrix screen, with an eyebrow badge, headline, live status chips and call-to-action buttons.
Preview
@props([
'eyebrow' => 'Now live',
'heading' => 'Ship status, in lights.',
'subheading' => 'A retro LED display board that puts your headline metric front and centre — animated, themeable, and reduced-motion safe out of the box.',
'primaryLabel' => 'Get started',
'primaryHref' => '#',
'secondaryLabel' => 'View the docs',
'secondaryHref' => '#',
])
{{-- Dot Matrix Board: a marketing hero built around a large LED dot-matrix
"screen". The panel and every control use semantic tokens, strings pass
through __(), and spacing is logical (ms-*/me-*) so it mirrors under RTL. --}}
<x-ui.section space="xl" {{ $attributes }}>
<div class="mx-auto max-w-5xl px-4">
<div class="mx-auto max-w-2xl text-center">
<x-ui.badge variant="secondary" class="gap-2">
<span data-slot="board-pulse" class="inline-block size-2 rounded-full bg-success motion-safe:animate-pulse"></span>
{{ __($eyebrow) }}
</x-ui.badge>
<h2 class="mt-6 text-3xl font-bold tracking-tight text-balance sm:text-4xl">
{{ __($heading) }}
</h2>
<p class="mt-4 text-base text-pretty text-muted-foreground">
{{ __($subheading) }}
</p>
</div>
{{-- The LED screen: an inset, bezelled panel framing the matrix. --}}
<div
data-slot="board-screen"
class="mx-auto mt-12 max-w-3xl overflow-hidden rounded-lg border border-border bg-card p-6 shadow-inner ring-1 ring-inset ring-border/60 sm:p-10"
>
<div class="flex items-center justify-center overflow-x-auto">
<x-ui.dot-matrix
preset="comet"
:rows="9"
:cols="32"
:size="9"
:gap="5"
color="primary"
:label="__('Animated status board')"
/>
</div>
<div class="mt-6 flex flex-wrap items-center justify-center gap-x-8 gap-y-4 border-t border-border/60 pt-6 text-center">
<div class="flex items-center gap-2">
<x-ui.dot-matrix preset="vu" :rows="6" :cols="5" :size="6" :gap="3" color="success" />
<span class="text-xs font-medium text-muted-foreground">{{ __('99.98% uptime') }}</span>
</div>
<div class="flex items-center gap-2">
<x-ui.dot-matrix preset="loader" shape="circular" :rows="7" :cols="7" :size="6" :gap="3" color="info" />
<span class="text-xs font-medium text-muted-foreground">{{ __('Deploying') }}</span>
</div>
<div class="flex items-center gap-2">
<x-ui.dot-matrix preset="pulse" :rows="6" :cols="6" :size="6" :gap="3" color="warning" />
<span class="text-xs font-medium text-muted-foreground">{{ __('142 ms p95') }}</span>
</div>
</div>
</div>
<div class="mt-10 flex flex-col items-center justify-center gap-4 sm:flex-row">
<x-ui.button :href="$primaryHref" size="lg">{{ __($primaryLabel) }}</x-ui.button>
<x-ui.button :href="$secondaryHref" variant="outline" size="lg">{{ __($secondaryLabel) }}</x-ui.button>
</div>
</div>
</x-ui.section>
Installation
php artisan ui:add blocks/dot-matrix-board
Registry contract
Install confidence
php artisan ui:add blocks/dot-matrix-board
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/dot-matrix-board.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: Dot Matrix Board (`dot-matrix-board`)
A retro LED display-board hero section built around an animated dot-matrix screen, with an eyebrow badge, headline, live status chips and call-to-action buttons.
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/dot-matrix-board
```
## Render it
```blade
<x-blocks.dot-matrix-board />
```
## Props
- `eyebrow` (string, default `Now live`)
- `heading` (string, default `Ship status, in lights.`)
- `subheading` (string, default `A retro LED display board that puts your headline metric front and centre — animated, themeable, and reduced-motion safe out of the box.`)
- `primary-label` (string, default `Get started`)
- `primary-href` (string, default `#`)
- `secondary-label` (string, default `View the docs`)
- `secondary-href` (string, default `#`)
## Use when
- Opening a marketing page with a retro LED dot-matrix display board as the visual centrepiece of the hero.
- Pairing the animated screen with an eyebrow badge, headline and dual call-to-action buttons.
## Avoid when
- Use hero-centered or another hero-* item for a hero without a decorative LED-board animation.
## Rules
- Render the installed block with `<x-blocks.dot-matrix-board />` 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/dot-matrix-board
- Registry JSON (files, props, contract): https://brokui.dev/r/open/blocks/dot-matrix-board.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
- Opening a marketing page with a retro LED dot-matrix display board as the visual centrepiece of the hero.
- Pairing the animated screen with an eyebrow badge, headline and dual call-to-action buttons.
Avoid when
- Use hero-centered or another hero-* item for a hero without a decorative LED-board animation.
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.dot-matrix-board />
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' => 'Now live',
'heading' => 'Ship status, in lights.',
'subheading' => 'A retro LED display board that puts your headline metric front and centre — animated, themeable, and reduced-motion safe out of the box.',
'primaryLabel' => 'Get started',
'primaryHref' => '#',
'secondaryLabel' => 'View the docs',
'secondaryHref' => '#',
])
{{-- Dot Matrix Board: a marketing hero built around a large LED dot-matrix
"screen". The panel and every control use semantic tokens, strings pass
through __(), and spacing is logical (ms-*/me-*) so it mirrors under RTL. --}}
<x-ui.section space="xl" {{ $attributes }}>
<div class="mx-auto max-w-5xl px-4">
<div class="mx-auto max-w-2xl text-center">
<x-ui.badge variant="secondary" class="gap-2">
<span data-slot="board-pulse" class="inline-block size-2 rounded-full bg-success motion-safe:animate-pulse"></span>
{{ __($eyebrow) }}
</x-ui.badge>
<h2 class="mt-6 text-3xl font-bold tracking-tight text-balance sm:text-4xl">
{{ __($heading) }}
</h2>
<p class="mt-4 text-base text-pretty text-muted-foreground">
{{ __($subheading) }}
</p>
</div>
{{-- The LED screen: an inset, bezelled panel framing the matrix. --}}
<div
data-slot="board-screen"
class="mx-auto mt-12 max-w-3xl overflow-hidden rounded-lg border border-border bg-card p-6 shadow-inner ring-1 ring-inset ring-border/60 sm:p-10"
>
<div class="flex items-center justify-center overflow-x-auto">
<x-ui.dot-matrix
preset="comet"
:rows="9"
:cols="32"
:size="9"
:gap="5"
color="primary"
:label="__('Animated status board')"
/>
</div>
<div class="mt-6 flex flex-wrap items-center justify-center gap-x-8 gap-y-4 border-t border-border/60 pt-6 text-center">
<div class="flex items-center gap-2">
<x-ui.dot-matrix preset="vu" :rows="6" :cols="5" :size="6" :gap="3" color="success" />
<span class="text-xs font-medium text-muted-foreground">{{ __('99.98% uptime') }}</span>
</div>
<div class="flex items-center gap-2">
<x-ui.dot-matrix preset="loader" shape="circular" :rows="7" :cols="7" :size="6" :gap="3" color="info" />
<span class="text-xs font-medium text-muted-foreground">{{ __('Deploying') }}</span>
</div>
<div class="flex items-center gap-2">
<x-ui.dot-matrix preset="pulse" :rows="6" :cols="6" :size="6" :gap="3" color="warning" />
<span class="text-xs font-medium text-muted-foreground">{{ __('142 ms p95') }}</span>
</div>
</div>
</div>
<div class="mt-10 flex flex-col items-center justify-center gap-4 sm:flex-row">
<x-ui.button :href="$primaryHref" size="lg">{{ __($primaryLabel) }}</x-ui.button>
<x-ui.button :href="$secondaryHref" variant="outline" size="lg">{{ __($secondaryLabel) }}</x-ui.button>
</div>
</div>
</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