Skip to content
Brok UI

Loading…

No results

Store Footer

Open source

Storefront footers — newsletter signup, multi-column link lists, social icons, locale/currency selector and payment-method chips.

Preview

resources/views/blocks/store-footer-minimal.blade.php Blade
@props([
    'brand'             => 'Monogram',
    'brandHref'         => '/',
    'brandBlurb'        => 'Designed to last. Carried with purpose. Made for those who know that true luxury lies in the details that endure.',
    'newsletterHeading' => 'Straight to your next carry',
    'newsletterSubcopy' => 'Join the list for early access to new arrivals, private sales, and the occasional well-considered note.',
    'columns'           => null,
    'socials'           => null,
    'paymentMethods'    => null,
    'locales'           => null,
    'copyright'         => '© 2026 Monogram. All rights reserved.',
])

@php
    $columns ??= [
        [
            'heading' => 'Shop',
            'links'   => [
                ['label' => 'New Arrivals', 'href' => '#'],
                ['label' => 'Collections',  'href' => '#'],
                ['label' => 'Lookbook',     'href' => '#'],
                ['label' => 'Sale',         'href' => '#'],
            ],
        ],
        [
            'heading' => 'Company',
            'links'   => [
                ['label' => 'About',   'href' => '#'],
                ['label' => 'Journal', 'href' => '#'],
                ['label' => 'Stores',  'href' => '#'],
                ['label' => 'Contact', 'href' => '#'],
            ],
        ],
        [
            'heading' => 'Information',
            'links'   => [
                ['label' => 'FAQs',      'href' => '#'],
                ['label' => 'Shipping',  'href' => '#'],
                ['label' => 'Returns',   'href' => '#'],
                ['label' => 'Documents', 'href' => '#'],
            ],
        ],
    ];

    $socials ??= [
        ['label' => 'Instagram', 'href' => '#'],
        ['label' => 'Facebook',  'href' => '#'],
        ['label' => 'Pinterest', 'href' => '#'],
        ['label' => 'YouTube',   'href' => '#'],
    ];

    $paymentMethods ??= ['Visa', 'Mastercard', 'Amex', 'PayPal', 'Apple Pay'];

    $locales ??= [
        ['value' => 'en-usd', 'label' => 'United States — USD'],
        ['value' => 'en-gbp', 'label' => 'United Kingdom — GBP'],
        ['value' => 'fr-eur', 'label' => 'France — EUR'],
        ['value' => 'jp-jpy', 'label' => 'Japan — JPY'],
    ];

    // Map the block's `socials` contract onto social-links: `platform` (or the older
    // `icon` key / a label) picks the mark; a raw `path` becomes a custom `icon`.
    $socialLinks = array_map(fn (array $s) => [
        'platform' => $s['platform'] ?? (isset($s['icon']) && ! str_contains($s['icon'], '<') ? $s['icon'] : strtolower(str_replace('.', '', $s['label'] ?? 'x'))),
        'label' => $s['label'] ?? null,
        'href' => $s['href'] ?? '#',
        'icon' => isset($s['path']) ? '<path d="'.$s['path'].'"/>' : (isset($s['icon']) && str_contains($s['icon'], '<') ? $s['icon'] : null),
    ], $socials);
@endphp

{{--
    store-footer-02 — "Minimal / Editorial" Monogram storefront footer.
    Structurally distinct from store-footer (the mega-footer): an editorial,
    whitespace-led layout — a large centered `font-heading` wordmark + brand line,
    a centered newsletter invitation row, an UPPERCASE wide-tracked multi-column
    link grid, then a quiet bottom bar (locale select, payment chips, social
    icons, copyright).
    Composes <x-ui.input>, <x-ui.button>, <x-ui.separator>.
    Semantic tokens only, logical spacing, WCAG AA, RTL-safe.
--}}
<footer
    {{ $attributes->merge(['class' => 'bg-background text-foreground']) }}
    data-slot="store-footer"
>
    <div class="mx-auto max-w-5xl px-4 sm:px-6 lg:px-8">

        {{-- ── Editorial brand mark ── --}}
        <div class="flex flex-col items-center gap-4 pt-16 text-center md:pt-20">
            <a
                href="{{ $brandHref }}"
                class="font-heading text-lg uppercase tracking-[0.3em] text-foreground transition-opacity hover:opacity-70 sm:text-xl"
                aria-label="{{ __(':brand home', ['brand' => $brand]) }}"
            >
                {{ $brand }}
            </a>
            <p class="max-w-xl font-body text-sm leading-relaxed text-muted-foreground">
                {{ __($brandBlurb) }}
            </p>
        </div>

        {{-- ── Newsletter invitation ── --}}
        <div class="mx-auto mt-12 max-w-md text-center">
            <h2 class="font-heading text-lg uppercase tracking-widest text-foreground">
                {{ __($newsletterHeading) }}
            </h2>
            <p class="mt-2 font-body text-sm text-muted-foreground">
                {{ __($newsletterSubcopy) }}
            </p>
            <form class="mt-6 flex flex-col gap-2 sm:flex-row" method="POST" action="#" novalidate>
                @csrf
                <label for="store-footer-02-email" class="sr-only">{{ __('Email address') }}</label>
                <x-ui.input
                    id="store-footer-02-email"
                    type="email"
                    name="email"
                    :placeholder="__('you@example.com')"
                    autocomplete="email"
                    required
                    class="min-w-0 flex-1"
                />
                <x-ui.button type="submit">
                    {{ __('Subscribe') }}
                </x-ui.button>
            </form>
        </div>

        <x-ui.separator class="mt-16" />

        {{-- ── Link columns ── --}}
        <nav
            class="grid grid-cols-2 gap-x-8 gap-y-10 py-12 text-center sm:grid-cols-3 sm:text-start"
            aria-label="{{ __('Footer') }}"
        >
            @foreach ($columns as $column)
                <div>
                    <h3 class="font-body text-xs font-semibold uppercase tracking-widest text-foreground">
                        {{ __($column['heading']) }}
                    </h3>
                    <ul class="mt-4 space-y-4" role="list">
                        @foreach ($column['links'] as $link)
                            <li>
                                <a
                                    href="{{ $link['href'] }}"
                                    class="font-body text-xs uppercase tracking-widest text-muted-foreground transition-colors hover:text-foreground"
                                >
                                    {{ __($link['label']) }}
                                </a>
                            </li>
                        @endforeach
                    </ul>
                </div>
            @endforeach
        </nav>

        <x-ui.separator />

        {{-- ── Bottom bar ── --}}
        <div class="flex flex-col items-center gap-6 py-8 md:flex-row md:items-center md:justify-between">

            {{-- Locale + payment cluster --}}
            <div class="flex flex-col items-center gap-4 sm:flex-row sm:gap-6">
                <div>
                    <label for="store-footer-02-locale" class="sr-only">{{ __('Country and currency') }}</label>
                    <x-ui.select size="sm" id="store-footer-02-locale" name="locale" class="w-max font-body uppercase tracking-widest" aria-label="{{ __('Country and currency') }}">
                        @foreach ($locales as $locale)
                            <option value="{{ $locale['value'] }}">{{ __($locale['label']) }}</option>
                        @endforeach
                    </x-ui.select>
                </div>

                <ul
                    class="flex flex-wrap items-center justify-center gap-2"
                    aria-label="{{ __('Accepted payment methods') }}"
                    role="list"
                >
                    @foreach ($paymentMethods as $method)
                        <li>
                            <x-ui.badge variant="outline" size="sm" class="font-body uppercase tracking-widest text-muted-foreground">{{ $method }}</x-ui.badge>
                        </li>
                    @endforeach
                </ul>
            </div>

            {{-- Social icons --}}
            <x-ui.social-links :links="$socialLinks" variant="outline" size="sm" label="Social media" />
        </div>

        {{-- Copyright --}}
        <div class="border-t border-border py-6 text-center">
            <p class="font-body text-xs uppercase tracking-widest text-muted-foreground">{{ __($copyright) }}</p>
        </div>
    </div>
</footer>

Installation

terminal
php artisan ui:add blocks/store-footer-minimal

Installs these dependencies automatically:

Registry contract

Install confidence

php artisan ui:add blocks/store-footer-minimal 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.2.1
License
open
Stability
stable
Contract
v1
Foundation
≥ 1.0.0
Type Generated target
blade resources/views/blocks/store-footer-minimal.blade.php

Registry dependencies

button input separator social-links badge select

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.

store-footer-minimal.md
# Brok UI block: Store Footer Minimal (`store-footer-minimal`)

A minimal editorial storefront footer — a large centered wordmark and brand line, a centered newsletter invitation row, an uppercase wide-tracked multi-column link grid, and a quiet bottom bar with a locale selector, payment-method chips, social icons and a copyright line.

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/store-footer-minimal
```

## Render it

```blade
<x-blocks.store-footer-minimal />
```

## Props

- `brand` (string, default `Monogram`) — Brand wordmark text.
- `brand-href` (string, default `/`) — Destination for the brand wordmark link.
- `brand-blurb` (string, default `Designed to last. Carried with purpose. Made for those who know that true luxury lies in the details that endure.`) — Short brand description under the wordmark.
- `newsletter-heading` (string, default `Straight to your next carry`) — Newsletter row heading.
- `newsletter-subcopy` (string, default `Join the list for early access to new arrivals, private sales, and the occasional well-considered note.`) — Newsletter row supporting copy.
- `columns` (mixed|null, default `null`) — Link columns, each with a heading and a list of links; null falls back to sample data.
- `socials` (mixed|null, default `null`) — Social icon links; null falls back to sample data.
- `payment-methods` (mixed|null, default `null`) — Payment-method chips shown in the bottom bar; null falls back to sample data.
- `locales` (mixed|null, default `null`) — Locale selector options; null falls back to sample data.
- `copyright` (string, default `© 2026 Monogram. All rights reserved.`) — Copyright line shown in the bottom bar.

## Use when

- Building a quiet, editorial storefront footer with a centered wordmark and an uppercase link grid.
- Wanting restraint for premium or fashion brands over a dense mega-footer.

## Avoid when

- Needing a full-featured mega-footer with more columns and prominent social links; use store-footer instead.

## Rules

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

  • Building a quiet, editorial storefront footer with a centered wordmark and an uppercase link grid.
  • Wanting restraint for premium or fashion brands over a dense mega-footer.

Avoid when

  • Needing a full-featured mega-footer with more columns and prominent social links; use store-footer instead.

Anti-patterns

  • Do not replace semantic props with conflicting utility classes.
  • Do not remove labels, focus styles, or state attributes.
Anatomy
root store-footer

Usage

Render the block as a component, passing data where useful:

resources/views/welcome.blade.php Blade
<x-blocks.store-footer-minimal />

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/store-footer-minimal.blade.php Blade
@props([
    'brand'             => 'Monogram',
    'brandHref'         => '/',
    'brandBlurb'        => 'Designed to last. Carried with purpose. Made for those who know that true luxury lies in the details that endure.',
    'newsletterHeading' => 'Straight to your next carry',
    'newsletterSubcopy' => 'Join the list for early access to new arrivals, private sales, and the occasional well-considered note.',
    'columns'           => null,
    'socials'           => null,
    'paymentMethods'    => null,
    'locales'           => null,
    'copyright'         => '© 2026 Monogram. All rights reserved.',
])

@php
    $columns ??= [
        [
            'heading' => 'Shop',
            'links'   => [
                ['label' => 'New Arrivals', 'href' => '#'],
                ['label' => 'Collections',  'href' => '#'],
                ['label' => 'Lookbook',     'href' => '#'],
                ['label' => 'Sale',         'href' => '#'],
            ],
        ],
        [
            'heading' => 'Company',
            'links'   => [
                ['label' => 'About',   'href' => '#'],
                ['label' => 'Journal', 'href' => '#'],
                ['label' => 'Stores',  'href' => '#'],
                ['label' => 'Contact', 'href' => '#'],
            ],
        ],
        [
            'heading' => 'Information',
            'links'   => [
                ['label' => 'FAQs',      'href' => '#'],
                ['label' => 'Shipping',  'href' => '#'],
                ['label' => 'Returns',   'href' => '#'],
                ['label' => 'Documents', 'href' => '#'],
            ],
        ],
    ];

    $socials ??= [
        ['label' => 'Instagram', 'href' => '#'],
        ['label' => 'Facebook',  'href' => '#'],
        ['label' => 'Pinterest', 'href' => '#'],
        ['label' => 'YouTube',   'href' => '#'],
    ];

    $paymentMethods ??= ['Visa', 'Mastercard', 'Amex', 'PayPal', 'Apple Pay'];

    $locales ??= [
        ['value' => 'en-usd', 'label' => 'United States — USD'],
        ['value' => 'en-gbp', 'label' => 'United Kingdom — GBP'],
        ['value' => 'fr-eur', 'label' => 'France — EUR'],
        ['value' => 'jp-jpy', 'label' => 'Japan — JPY'],
    ];

    // Map the block's `socials` contract onto social-links: `platform` (or the older
    // `icon` key / a label) picks the mark; a raw `path` becomes a custom `icon`.
    $socialLinks = array_map(fn (array $s) => [
        'platform' => $s['platform'] ?? (isset($s['icon']) && ! str_contains($s['icon'], '<') ? $s['icon'] : strtolower(str_replace('.', '', $s['label'] ?? 'x'))),
        'label' => $s['label'] ?? null,
        'href' => $s['href'] ?? '#',
        'icon' => isset($s['path']) ? '<path d="'.$s['path'].'"/>' : (isset($s['icon']) && str_contains($s['icon'], '<') ? $s['icon'] : null),
    ], $socials);
@endphp

{{--
    store-footer-02 — "Minimal / Editorial" Monogram storefront footer.
    Structurally distinct from store-footer (the mega-footer): an editorial,
    whitespace-led layout — a large centered `font-heading` wordmark + brand line,
    a centered newsletter invitation row, an UPPERCASE wide-tracked multi-column
    link grid, then a quiet bottom bar (locale select, payment chips, social
    icons, copyright).
    Composes <x-ui.input>, <x-ui.button>, <x-ui.separator>.
    Semantic tokens only, logical spacing, WCAG AA, RTL-safe.
--}}
<footer
    {{ $attributes->merge(['class' => 'bg-background text-foreground']) }}
    data-slot="store-footer"
>
    <div class="mx-auto max-w-5xl px-4 sm:px-6 lg:px-8">

        {{-- ── Editorial brand mark ── --}}
        <div class="flex flex-col items-center gap-4 pt-16 text-center md:pt-20">
            <a
                href="{{ $brandHref }}"
                class="font-heading text-lg uppercase tracking-[0.3em] text-foreground transition-opacity hover:opacity-70 sm:text-xl"
                aria-label="{{ __(':brand home', ['brand' => $brand]) }}"
            >
                {{ $brand }}
            </a>
            <p class="max-w-xl font-body text-sm leading-relaxed text-muted-foreground">
                {{ __($brandBlurb) }}
            </p>
        </div>

        {{-- ── Newsletter invitation ── --}}
        <div class="mx-auto mt-12 max-w-md text-center">
            <h2 class="font-heading text-lg uppercase tracking-widest text-foreground">
                {{ __($newsletterHeading) }}
            </h2>
            <p class="mt-2 font-body text-sm text-muted-foreground">
                {{ __($newsletterSubcopy) }}
            </p>
            <form class="mt-6 flex flex-col gap-2 sm:flex-row" method="POST" action="#" novalidate>
                @csrf
                <label for="store-footer-02-email" class="sr-only">{{ __('Email address') }}</label>
                <x-ui.input
                    id="store-footer-02-email"
                    type="email"
                    name="email"
                    :placeholder="__('you@example.com')"
                    autocomplete="email"
                    required
                    class="min-w-0 flex-1"
                />
                <x-ui.button type="submit">
                    {{ __('Subscribe') }}
                </x-ui.button>
            </form>
        </div>

        <x-ui.separator class="mt-16" />

        {{-- ── Link columns ── --}}
        <nav
            class="grid grid-cols-2 gap-x-8 gap-y-10 py-12 text-center sm:grid-cols-3 sm:text-start"
            aria-label="{{ __('Footer') }}"
        >
            @foreach ($columns as $column)
                <div>
                    <h3 class="font-body text-xs font-semibold uppercase tracking-widest text-foreground">
                        {{ __($column['heading']) }}
                    </h3>
                    <ul class="mt-4 space-y-4" role="list">
                        @foreach ($column['links'] as $link)
                            <li>
                                <a
                                    href="{{ $link['href'] }}"
                                    class="font-body text-xs uppercase tracking-widest text-muted-foreground transition-colors hover:text-foreground"
                                >
                                    {{ __($link['label']) }}
                                </a>
                            </li>
                        @endforeach
                    </ul>
                </div>
            @endforeach
        </nav>

        <x-ui.separator />

        {{-- ── Bottom bar ── --}}
        <div class="flex flex-col items-center gap-6 py-8 md:flex-row md:items-center md:justify-between">

            {{-- Locale + payment cluster --}}
            <div class="flex flex-col items-center gap-4 sm:flex-row sm:gap-6">
                <div>
                    <label for="store-footer-02-locale" class="sr-only">{{ __('Country and currency') }}</label>
                    <x-ui.select size="sm" id="store-footer-02-locale" name="locale" class="w-max font-body uppercase tracking-widest" aria-label="{{ __('Country and currency') }}">
                        @foreach ($locales as $locale)
                            <option value="{{ $locale['value'] }}">{{ __($locale['label']) }}</option>
                        @endforeach
                    </x-ui.select>
                </div>

                <ul
                    class="flex flex-wrap items-center justify-center gap-2"
                    aria-label="{{ __('Accepted payment methods') }}"
                    role="list"
                >
                    @foreach ($paymentMethods as $method)
                        <li>
                            <x-ui.badge variant="outline" size="sm" class="font-body uppercase tracking-widest text-muted-foreground">{{ $method }}</x-ui.badge>
                        </li>
                    @endforeach
                </ul>
            </div>

            {{-- Social icons --}}
            <x-ui.social-links :links="$socialLinks" variant="outline" size="sm" label="Social media" />
        </div>

        {{-- Copyright --}}
        <div class="border-t border-border py-6 text-center">
            <p class="font-body text-xs uppercase tracking-widest text-muted-foreground">{{ __($copyright) }}</p>
        </div>
    </div>
</footer>

Ownership & lifecycle

Owner, release state, review evidence and adoption for this item.
Owner
Platform UI (@JoshJML)
Current version
1.2.1
Status
Stable
License
open
Deprecation
Not deprecated
Contract
v1
Foundation
≥ 1.0.0