IconSection
Icon Section without gap
<div class="c-element c-iconsection c-iconsection--gap-0" data-uid="68df046857ce8">
<div class="c-element c-iconsection__item" data-uid="68df046857b30">
<div class="c-element c-iconsection__item__icon" data-uid="68df046857aa8">
<!-- icon.blade.php -->
<span class="c-icon c-icon--location-on c-icon--material c-icon--material-location_on material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined c-icon--size-md" data-material-symbol="location_on" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" aria-hidden="false" data-uid="68df046857a2e">
</span>
</div>
<div class="c-element c-iconsection__item__content" data-uid="68df046857b04">
<h2>Title</h2>
<p>Content</p>
</div>
</div>
<div class="c-element c-iconsection__item" data-uid="68df046857c51">
<div class="c-element c-iconsection__item__icon" data-uid="68df046857bda">
<!-- icon.blade.php -->
<span class="c-icon c-icon--wc c-icon--material c-icon--material-wc material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined c-icon--size-md" data-material-symbol="wc" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" aria-hidden="false" data-uid="68df046857ba6">
</span>
</div>
<div class="c-element c-iconsection__item__content" data-uid="68df046857c27">
<h2>Title</h2>
<p>Content</p>
</div>
</div>
</div>
@iconSection([])
@iconSection__item([
'icon' => [
'icon' => 'location_on',
'size' => 'md'
]
])
<h2>Title</h2>
<p>Content</p>
@endiconSection__item
@iconSection__item([
'icon' => [
'icon' => 'wc',
'size' => 'md'
]
])
<h2>Title</h2>
<p>Content</p>
@endiconSection__item
@endiconSection
Icon Section with gap
<div class="c-element c-iconsection c-iconsection--gap-4" data-uid="68df046857fa7">
<div class="c-element c-iconsection__item" data-uid="68df046857e4b">
<div class="c-element c-iconsection__item__icon" data-uid="68df046857dd6">
<!-- icon.blade.php -->
<span class="c-icon c-icon--location-on c-icon--material c-icon--material-location_on material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined c-icon--size-md" data-material-symbol="location_on" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" aria-hidden="false" data-uid="68df046857d9f">
</span>
</div>
<div class="c-element c-iconsection__item__content" data-uid="68df046857e21">
<h2>Title</h2>
<p>Content</p>
</div>
</div>
<div class="c-element c-iconsection__item" data-uid="68df046857f53">
<div class="c-element c-iconsection__item__icon" data-uid="68df046857eef">
<!-- icon.blade.php -->
<span class="c-icon c-icon--wc c-icon--material c-icon--material-wc material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined c-icon--size-md" data-material-symbol="wc" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" aria-hidden="false" data-uid="68df046857ebb">
</span>
</div>
<div class="c-element c-iconsection__item__content" data-uid="68df046857f2b">
<h2>Title</h2>
<p>Content</p>
</div>
</div>
</div>
@iconSection([
'gap' => 4
])
@iconSection__item([
'icon' => [
'icon' => 'location_on',
'size' => 'md'
]
])
<h2>Title</h2>
<p>Content</p>
@endiconSection__item
@iconSection__item([
'icon' => [
'icon' => 'wc',
'size' => 'md'
]
])
<h2>Title</h2>
<p>Content</p>
@endiconSection__item
@endiconSection
Blade component parameters
Key | Default value | Type | Available values | Description |
gap | 0 | integer | - | The gap between the items in the icon section. Number between 0-12 |
id | string | - | The DOM id of the component. | |
classList | [] | array | - | Array containing wrapping classes array |
attributeList | [] | array | - | Array containing keys and values rendered as attributes |
containerAware | false | boolean | true/false | Makes the component container aware. Appends modifiers --size--xs/sm/md/lg to the component. |