Skip to content
Brok UI

Loading…

No results

About

Open source

About-us sections — a story column with a values list paired with a card collage and a stat grid.

Preview

resources/views/blocks/about-timeline.blade.php Blade
@props([
    'eyebrow'    => 'Our story',
    'heading'    => 'A decade of building for builders',
    'lead'       => 'From a single shared repository to a globally distributed team, every milestone shaped how we think about software.',
    'milestones' => null,
])

@php
    $milestones ??= [
        ['year' => '2014', 'title' => 'Founded', 'description' => 'Three engineers, one rented desk, and a conviction that beautiful interfaces should not be a luxury. We shipped our first open-source primitive the same week.', 'highlight' => false],
        ['year' => '2017', 'title' => 'First enterprise contract', 'description' => 'A Fortune-500 logistics company adopted our design system across eight internal products. Accessibility and dark-mode landed as first-class requirements.', 'highlight' => false],
        ['year' => '2020', 'title' => 'Registry goes public', 'description' => 'We open-sourced the copy-into-your-app model: no runtime dependency, no lock-in. The repository crossed 10,000 stars within a month.', 'highlight' => false],
        ['year' => '2023', 'title' => 'Pro tier & global expansion', 'description' => 'Advanced blocks, dashboard shells, and a commercial licence brought the system to teams on six continents. The team grew to forty, fully remote.', 'highlight' => false],
        ['year' => '2026', 'title' => 'Today', 'description' => 'Hundreds of components, blocks, and pages — all semantic-token-driven, RTL-ready, and yours to own outright.', 'highlight' => true],
    ];
@endphp

<x-ui.section space="xl" {{ $attributes }}>
    <div class="mx-auto max-w-3xl px-4">
        <div class="mb-14 text-center sm:mb-20">
            @if ($eyebrow)<x-ui.badge variant="secondary" class="mb-6">{{ __($eyebrow) }}</x-ui.badge>@endif
            <h2 class="text-balance text-3xl font-bold tracking-tight sm:text-4xl">{{ __($heading) }}</h2>
            @if ($lead)<p class="mx-auto mt-4 max-w-xl text-pretty text-base leading-relaxed text-muted-foreground">{{ __($lead) }}</p>@endif
        </div>

        <x-ui.timeline :alternating="false" no-cards :vert-item-max-width="0" :vert-item-spacing="48" aria-label="{{ __('Company milestones') }}">
            @foreach ($milestones as $milestone)
                <x-ui.timeline.item :variant="$milestone['highlight'] ? 'default' : 'secondary'" :hollow="! $milestone['highlight']">
                    <x-ui.badge variant="{{ $milestone['highlight'] ? 'default' : 'outline' }}" size="sm" class="mb-2">{{ $milestone['year'] }}</x-ui.badge>
                    <h3 class="text-base font-semibold leading-snug {{ $milestone['highlight'] ? 'text-primary' : 'text-foreground' }}">{{ __($milestone['title']) }}</h3>
                    <p class="mt-2 text-sm leading-relaxed text-muted-foreground">{{ __($milestone['description']) }}</p>
                </x-ui.timeline.item>
            @endforeach
        </x-ui.timeline>
    </div>
</x-ui.section>

Installation

terminal
php artisan ui:add blocks/about-timeline

Installs these dependencies automatically:

Registry contract

Install confidence

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

Registry dependencies

badge section timeline

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.

about-timeline.md
# Brok UI block: About Timeline (`about-timeline`)

An about section presenting company milestones as a vertical year-tagged timeline with a continuous rail.

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/about-timeline
```

## Render it

```blade
<x-blocks.about-timeline />
```

## Props

- `eyebrow` (string, default `Our story`)
- `heading` (string, default `A decade of building for builders`)
- `lead` (string, default `From a single shared repository to a globally distributed team, every milestone shaped how we think about software.`)
- `milestones` (mixed|null, default `null`)

## Use when

- Presenting company history as a vertical, year-tagged timeline of milestones with a continuous rail.
- Highlighting the most recent milestone distinctly among earlier, muted entries.

## Avoid when

- Use about-split or about-stats for a stat- or story-led about section instead of a chronological timeline.

## Rules

- Render the installed block with `<x-blocks.about-timeline />` 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/about-timeline
- Registry JSON (files, props, contract): https://brokui.dev/r/open/blocks/about-timeline.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 company history as a vertical, year-tagged timeline of milestones with a continuous rail.
  • Highlighting the most recent milestone distinctly among earlier, muted entries.

Avoid when

  • Use about-split or about-stats for a stat- or story-led about section instead of a chronological timeline.

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.about-timeline />

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/about-timeline.blade.php Blade
@props([
    'eyebrow'    => 'Our story',
    'heading'    => 'A decade of building for builders',
    'lead'       => 'From a single shared repository to a globally distributed team, every milestone shaped how we think about software.',
    'milestones' => null,
])

@php
    $milestones ??= [
        ['year' => '2014', 'title' => 'Founded', 'description' => 'Three engineers, one rented desk, and a conviction that beautiful interfaces should not be a luxury. We shipped our first open-source primitive the same week.', 'highlight' => false],
        ['year' => '2017', 'title' => 'First enterprise contract', 'description' => 'A Fortune-500 logistics company adopted our design system across eight internal products. Accessibility and dark-mode landed as first-class requirements.', 'highlight' => false],
        ['year' => '2020', 'title' => 'Registry goes public', 'description' => 'We open-sourced the copy-into-your-app model: no runtime dependency, no lock-in. The repository crossed 10,000 stars within a month.', 'highlight' => false],
        ['year' => '2023', 'title' => 'Pro tier & global expansion', 'description' => 'Advanced blocks, dashboard shells, and a commercial licence brought the system to teams on six continents. The team grew to forty, fully remote.', 'highlight' => false],
        ['year' => '2026', 'title' => 'Today', 'description' => 'Hundreds of components, blocks, and pages — all semantic-token-driven, RTL-ready, and yours to own outright.', 'highlight' => true],
    ];
@endphp

<x-ui.section space="xl" {{ $attributes }}>
    <div class="mx-auto max-w-3xl px-4">
        <div class="mb-14 text-center sm:mb-20">
            @if ($eyebrow)<x-ui.badge variant="secondary" class="mb-6">{{ __($eyebrow) }}</x-ui.badge>@endif
            <h2 class="text-balance text-3xl font-bold tracking-tight sm:text-4xl">{{ __($heading) }}</h2>
            @if ($lead)<p class="mx-auto mt-4 max-w-xl text-pretty text-base leading-relaxed text-muted-foreground">{{ __($lead) }}</p>@endif
        </div>

        <x-ui.timeline :alternating="false" no-cards :vert-item-max-width="0" :vert-item-spacing="48" aria-label="{{ __('Company milestones') }}">
            @foreach ($milestones as $milestone)
                <x-ui.timeline.item :variant="$milestone['highlight'] ? 'default' : 'secondary'" :hollow="! $milestone['highlight']">
                    <x-ui.badge variant="{{ $milestone['highlight'] ? 'default' : 'outline' }}" size="sm" class="mb-2">{{ $milestone['year'] }}</x-ui.badge>
                    <h3 class="text-base font-semibold leading-snug {{ $milestone['highlight'] ? 'text-primary' : 'text-foreground' }}">{{ __($milestone['title']) }}</h3>
                    <p class="mt-2 text-sm leading-relaxed text-muted-foreground">{{ __($milestone['description']) }}</p>
                </x-ui.timeline.item>
            @endforeach
        </x-ui.timeline>
    </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