---
title: "contact-12"
description: "Heading and intro beside a compact email, phone and office list, with a full-width map underneath."
category: "Contact"
---
# contact-12
Heading and intro beside a compact email, phone and office list, with a full-width map underneath.
## Installation
```bash
php artisan ui:add-block contact-12
```
## Dependencies
- composer: `gehrisandro/tailwind-merge-laravel`
## Source
`resources/views/components/ui/blocks/contact-12.blade.php`
```blade
{{--
Heading and intro beside a compact contact list, with a full-width map
underneath. Every piece of content is a prop. No map is embedded by
default: the block shows a placeholder until you pass `map`, an embed
URL, which renders as a lazy-loaded iframe titled `map-title`. Set any of
email, phone or address to null to hide that row.
--}}
@props([
'tagline' => 'Tagline',
'heading' => 'Contact us',
'description' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.',
'emailTitle' => 'Email',
'email' => 'email@example.com',
'phoneTitle' => 'Phone',
'phone' => '+1 (555) 000-0000',
'addressTitle' => 'Office',
'address' => '123 Sample St, Sydney NSW 2000 AU',
'map' => null,
'mapTitle' => 'Map',
])
@php
$tel = $phone ? 'tel:' . preg_replace('/[^\d+]/', '', $phone) : null;
@endphp
merge(['class' => 'w-full bg-background px-[5%] py-16 text-foreground md:py-24 lg:py-28']) }}>