---
title: "pricing-17"
description: "Borderless feature comparison table with centred plan headers, grouped rows, repeated buttons and Monthly \/ Yearly tabs."
category: "Pricing"
---
# pricing-17
Borderless feature comparison table with centred plan headers, grouped rows, repeated buttons and Monthly / Yearly tabs.
## Installation
```bash
php artisan ui:add-block pricing-17
```
## Dependencies
- composer: `gehrisandro/tailwind-merge-laravel`
- component: [button](https://laralcn-ui.abdulkadersafi.com/components/button.md) — the CLI installs it for you.
- component: [table](https://laralcn-ui.abdulkadersafi.com/components/table.md) — the CLI installs it for you.
- component: [tabs](https://laralcn-ui.abdulkadersafi.com/components/tabs.md) — the CLI installs it for you.
## Source
`resources/views/components/ui/blocks/pricing-17.blade.php`
```blade
{{--
Every piece of content is a prop, so you can drive this section from a CMS.
Each plan carries a monthly price (price + period) and a yearly one
(yearlyPrice + yearlyPeriod); the Monthly / Yearly tabs swap between them.
A comparison row is ['label' => ..., 'values' => [...]] with one value per
plan, in plan order: true draws a check, false or null leaves the cell
empty, and a string ('10', 'Unlimited') is printed as-is. The plan
buttons repeat under the table.
--}}
@props([
'tagline' => 'Tagline',
'heading' => 'Pricing plan',
'description' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
'monthlyLabel' => 'Monthly',
'yearlyLabel' => 'Yearly',
'includedLabel' => 'Included',
'notIncludedLabel' => 'Not included',
'plans' => [
[
'name' => 'Basic',
'price' => '$19',
'period' => '/mo',
'yearlyPrice' => '$199',
'yearlyPeriod' => '/yr',
'description' => 'Lorem ipsum dolor sit amet',
'buttonLabel' => 'Get started',
'buttonHref' => null,
],
[
'name' => 'Business',
'price' => '$29',
'period' => '/mo',
'yearlyPrice' => '$299',
'yearlyPeriod' => '/yr',
'description' => 'Lorem ipsum dolor sit amet',
'buttonLabel' => 'Get started',
'buttonHref' => null,
],
[
'name' => 'Enterprise',
'price' => '$49',
'period' => '/mo',
'yearlyPrice' => '$499',
'yearlyPeriod' => '/yr',
'description' => 'Lorem ipsum dolor sit amet',
'buttonLabel' => 'Get started',
'buttonHref' => null,
],
],
'categories' => array_fill(0, 3, [
'title' => 'Feature Category',
'features' => [
['label' => 'Feature text goes here', 'values' => ['10', '25', 'Unlimited']],
['label' => 'Feature text goes here', 'values' => [true, true, true]],
['label' => 'Feature text goes here', 'values' => [true, true, true]],
['label' => 'Feature text goes here', 'values' => [false, true, true]],
['label' => 'Feature text goes here', 'values' => [false, false, true]],
],
]),
])
merge(['class' => 'w-full bg-background px-[5%] py-16 text-foreground md:py-24 lg:py-28']) }}>
@if ($tagline)
{{ $tagline }}
@endif
{{ $heading }}
@if ($description)
{{ $description }}
@endif
@foreach (['monthly', 'yearly'] as $billing)
{{-- On mobile the feature label gets a row of its own above
the values, so the plan columns keep the full width. --}}