Pricing
Pricing sections — from a simple three-tier table (with an optional billing-period toggle) to gradient and elevated cards, tinted and horizontal layouts, and a tabbed switcher.
Preview
@props([
'heading' => 'Start managing your company smarter today',
'name' => 'Suite Enterprise',
'tagline' => 'For your company of any size',
'price' => '$234',
'period' => '/month',
'cta' => 'Get started',
'href' => '#',
'includes' => 'Includes security, unlimited storage, payments, search and every premium feature.',
'featuresHeading' => 'Everything in one plan',
'features' => null,
'customersLabel' => 'Trusted by teams at',
'customers' => null,
])
@php
$features ??= [
'First premium advantage for every seat',
'Second advantage delivered weekly',
'Third advantage with priority routing',
'Unlimited access to all components and blocks',
];
$customers ??= ['Northwind', 'Acme Co', 'Globex', 'Initech'];
@endphp
<x-ui.section space="xl" {{ $attributes }}>
<div class="mx-auto max-w-5xl px-4">
<div class="mx-auto max-w-2xl text-center">
<h2 class="text-balance text-3xl font-bold tracking-tight sm:text-4xl">{{ __($heading) }}</h2>
</div>
<x-ui.card class="mt-12 overflow-hidden rounded-lg shadow-xl md:mt-16">
<div class="grid items-center divide-y p-8 sm:p-12 md:grid-cols-2 md:divide-x md:divide-y-0 rtl:md:divide-x-reverse">
<div class="pb-10 text-center md:pb-0 md:pe-12">
<h3 class="text-2xl font-semibold tracking-tight">{{ __($name) }}</h3>
<p class="mt-2 text-sm text-muted-foreground">{{ __($tagline) }}</p>
<p class="mb-8 mt-10 flex items-baseline justify-center gap-2">
<span class="text-3xl font-bold tracking-tight">{{ $price }}</span>
<span class="text-sm text-muted-foreground">{{ __($period) }}</span>
</p>
<x-ui.button :href="$href" size="lg" class="w-full sm:w-auto">{{ __($cta) }}</x-ui.button>
@if ($includes)
<p class="mx-auto mt-10 max-w-xs text-sm text-muted-foreground">{{ __($includes) }}</p>
@endif
</div>
<div class="pt-10 md:ps-12 md:pt-0">
@if ($featuresHeading)
<h4 class="text-sm font-semibold uppercase tracking-widest text-primary">{{ __($featuresHeading) }}</h4>
@endif
<x-ui.check-list class="mt-6">
@foreach ($features as $feature)
<x-ui.check-list.item>{{ __($feature) }}</x-ui.check-list.item>
@endforeach
</x-ui.check-list>
@if (! empty($customers))
<p class="mt-8 text-sm text-muted-foreground">{{ __($customersLabel) }}</p>
<div class="mt-4 flex flex-wrap items-center gap-x-8 gap-y-4">
@foreach ($customers as $customer)
<span class="text-sm font-semibold tracking-tight text-muted-foreground">{{ $customer }}</span>
@endforeach
</div>
@endif
</div>
</div>
</x-ui.card>
</div>
</x-ui.section>
Installation
php artisan ui:add blocks/pricing-enterprise
Registry contract
Install confidence
php artisan ui:add blocks/pricing-enterprise
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/pricing-enterprise.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: Pricing Enterprise (`pricing-enterprise`)
A single enterprise pricing card split into two columns — name, price, CTA and includes line beside a feature checklist and a row of trusted-customer wordmarks.
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/pricing-enterprise
```
## Render it
```blade
<x-blocks.pricing-enterprise />
```
## Props
- `heading` (string, default `Start managing your company smarter today`) — Section headline above the card.
- `name` (string, default `Suite Enterprise`) — Plan name.
- `tagline` (string, default `For your company of any size`) — Short tagline under the plan name.
- `price` (string, default `$234`) — Price amount.
- `period` (string, default `/month`) — Billing period suffix shown after the price.
- `cta` (string, default `Get started`) — CTA button label.
- `href` (string, default `#`) — CTA button destination.
- `includes` (string, default `Includes security, unlimited storage, payments, search and every premium feature.`) — Summary line shown under the CTA.
- `features-heading` (string, default `Everything in one plan`) — Heading above the features column.
- `features` (mixed|null, default `null`) — Array of feature strings rendered in the checklist; null falls back to sample features.
- `customers-label` (string, default `Trusted by teams at`) — Label above the trusted-customer wordmarks row.
- `customers` (mixed|null, default `null`) — Array of customer name strings rendered as wordmarks; null falls back to sample names.
## Use when
- Selling a single enterprise plan as one wide card split into a price/CTA column and a features column.
- Needing a row of trusted-customer wordmarks under the card to build enterprise trust.
## Avoid when
- Selling a lower-tier single plan without enterprise trust signals; use pricing-single instead.
## Rules
- Render the installed block with `<x-blocks.pricing-enterprise />` 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/pricing-enterprise
- Registry JSON (files, props, contract): https://brokui.dev/r/open/blocks/pricing-enterprise.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
- Selling a single enterprise plan as one wide card split into a price/CTA column and a features column.
- Needing a row of trusted-customer wordmarks under the card to build enterprise trust.
Avoid when
- Selling a lower-tier single plan without enterprise trust signals; use pricing-single instead.
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.pricing-enterprise />
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([
'heading' => 'Start managing your company smarter today',
'name' => 'Suite Enterprise',
'tagline' => 'For your company of any size',
'price' => '$234',
'period' => '/month',
'cta' => 'Get started',
'href' => '#',
'includes' => 'Includes security, unlimited storage, payments, search and every premium feature.',
'featuresHeading' => 'Everything in one plan',
'features' => null,
'customersLabel' => 'Trusted by teams at',
'customers' => null,
])
@php
$features ??= [
'First premium advantage for every seat',
'Second advantage delivered weekly',
'Third advantage with priority routing',
'Unlimited access to all components and blocks',
];
$customers ??= ['Northwind', 'Acme Co', 'Globex', 'Initech'];
@endphp
<x-ui.section space="xl" {{ $attributes }}>
<div class="mx-auto max-w-5xl px-4">
<div class="mx-auto max-w-2xl text-center">
<h2 class="text-balance text-3xl font-bold tracking-tight sm:text-4xl">{{ __($heading) }}</h2>
</div>
<x-ui.card class="mt-12 overflow-hidden rounded-lg shadow-xl md:mt-16">
<div class="grid items-center divide-y p-8 sm:p-12 md:grid-cols-2 md:divide-x md:divide-y-0 rtl:md:divide-x-reverse">
<div class="pb-10 text-center md:pb-0 md:pe-12">
<h3 class="text-2xl font-semibold tracking-tight">{{ __($name) }}</h3>
<p class="mt-2 text-sm text-muted-foreground">{{ __($tagline) }}</p>
<p class="mb-8 mt-10 flex items-baseline justify-center gap-2">
<span class="text-3xl font-bold tracking-tight">{{ $price }}</span>
<span class="text-sm text-muted-foreground">{{ __($period) }}</span>
</p>
<x-ui.button :href="$href" size="lg" class="w-full sm:w-auto">{{ __($cta) }}</x-ui.button>
@if ($includes)
<p class="mx-auto mt-10 max-w-xs text-sm text-muted-foreground">{{ __($includes) }}</p>
@endif
</div>
<div class="pt-10 md:ps-12 md:pt-0">
@if ($featuresHeading)
<h4 class="text-sm font-semibold uppercase tracking-widest text-primary">{{ __($featuresHeading) }}</h4>
@endif
<x-ui.check-list class="mt-6">
@foreach ($features as $feature)
<x-ui.check-list.item>{{ __($feature) }}</x-ui.check-list.item>
@endforeach
</x-ui.check-list>
@if (! empty($customers))
<p class="mt-8 text-sm text-muted-foreground">{{ __($customersLabel) }}</p>
<div class="mt-4 flex flex-wrap items-center gap-x-8 gap-y-4">
@foreach ($customers as $customer)
<span class="text-sm font-semibold tracking-tight text-muted-foreground">{{ $customer }}</span>
@endforeach
</div>
@endif
</div>
</div>
</x-ui.card>
</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