Site selector
A component that will display available sites in a network, or represent a variarity of customer types (business, private).
Siteselector with default color schemes
<div class="u-padding--2">
<div class="c-siteselector c-siteselector--radius-full c-siteselector--primary" data-uid="673ed7a232a04">
<!-- nav.blade.php -->
<ul class="c-nav c-siteselector__items c-nav--depth-1 unlist c-nav--horizontal" aria-orientation="horizontal" role="menu" js-keep-in-viewport-after-resize="1" id="673ed7a232a7e" data-uid="673ed7a232a7e">
<li id="673ed7a232a7e-8940255328553245257-0__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1 is-current" role="menuitem" data-depth="1" aria-label="This site">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a232a7e-8940255328553245257-0__label" href="https://styleguide.getmunicipio.com" target="_top" id="673ed7a232a7e-8940255328553245257-0__label" data-uid="673ed7a232c5d">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="673ed7a232a7e-7302936099593771146-1__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Google">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a232a7e-7302936099593771146-1__label" href="https://google.com" target="_top" id="673ed7a232a7e-7302936099593771146-1__label" data-uid="673ed7a232d14">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="673ed7a232a7e-2821626913244089790-2__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Facebook">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a232a7e-2821626913244089790-2__label" href="https://facebok.com" target="_top" id="673ed7a232a7e-2821626913244089790-2__label" data-uid="673ed7a232dae">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="673ed7a232a7e-7588467084732860166-3__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Twitter">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a232a7e-7588467084732860166-3__label" href="https://twitter.com" target="_top" id="673ed7a232a7e-7588467084732860166-3__label" data-uid="673ed7a232e40">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Twitter
</span>
</a>
</div>
</li>
</ul>
</div></div>
<div class="u-padding--2">
<div class="c-siteselector c-siteselector--radius-full c-siteselector--secondary" data-uid="673ed7a232e93">
<!-- nav.blade.php -->
<ul class="c-nav c-siteselector__items c-nav--depth-1 unlist c-nav--horizontal" aria-orientation="horizontal" role="menu" js-keep-in-viewport-after-resize="1" id="673ed7a232ebf" data-uid="673ed7a232ebf">
<li id="673ed7a232ebf-447617078088254169-0__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1 is-current" role="menuitem" data-depth="1" aria-label="This site">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a232ebf-447617078088254169-0__label" href="https://styleguide.getmunicipio.com" target="_top" id="673ed7a232ebf-447617078088254169-0__label" data-uid="673ed7a232f69">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="673ed7a232ebf-8086720328114578660-1__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Google">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a232ebf-8086720328114578660-1__label" href="https://google.com" target="_top" id="673ed7a232ebf-8086720328114578660-1__label" data-uid="673ed7a233009">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="673ed7a232ebf-8708193888288581668-2__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Facebook">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a232ebf-8708193888288581668-2__label" href="https://facebok.com" target="_top" id="673ed7a232ebf-8708193888288581668-2__label" data-uid="673ed7a23309d">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="673ed7a232ebf-7225996102507825451-3__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Twitter">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a232ebf-7225996102507825451-3__label" href="https://twitter.com" target="_top" id="673ed7a232ebf-7225996102507825451-3__label" data-uid="673ed7a23312b">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Twitter
</span>
</a>
</div>
</li>
</ul>
</div></div>
@foreach(['primary', 'secondary'] as $color)
<div class="u-padding--2">
@siteselector([
'color' => $color,
'items' => [
['label' => 'This site', 'href' => 'https://' . $_SERVER['HTTP_HOST']],
['label' => 'Google', 'href' => 'https://google.com'],
['label' => 'Facebook', 'href' => 'https://facebok.com'],
['label' => 'Twitter', 'href' => 'https://twitter.com']
]
])
@endsiteselector
</div>
@endforeach
Siteselector with different radiuses
<div class="u-padding--2">
<div class="c-siteselector c-siteselector--radius-xs c-siteselector--primary" data-uid="673ed7a2333da">
<!-- nav.blade.php -->
<ul class="c-nav c-siteselector__items c-nav--depth-1 unlist c-nav--horizontal" aria-orientation="horizontal" role="menu" js-keep-in-viewport-after-resize="1" id="673ed7a23340c" data-uid="673ed7a23340c">
<li id="673ed7a23340c-8388285713784873609-0__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1 is-current" role="menuitem" data-depth="1" aria-label="This site">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a23340c-8388285713784873609-0__label" href="https://styleguide.getmunicipio.com" target="_top" id="673ed7a23340c-8388285713784873609-0__label" data-uid="673ed7a2334c5">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="673ed7a23340c-2326034710019057292-1__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Google">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a23340c-2326034710019057292-1__label" href="https://google.com" target="_top" id="673ed7a23340c-2326034710019057292-1__label" data-uid="673ed7a23355d">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="673ed7a23340c-535104634925903992-2__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Facebook">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a23340c-535104634925903992-2__label" href="https://facebok.com" target="_top" id="673ed7a23340c-535104634925903992-2__label" data-uid="673ed7a2335ed">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="673ed7a23340c-4139697438587519467-3__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Twitter">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a23340c-4139697438587519467-3__label" href="https://twitter.com" target="_top" id="673ed7a23340c-4139697438587519467-3__label" data-uid="673ed7a23367d">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Twitter
</span>
</a>
</div>
</li>
</ul>
</div></div>
<div class="u-padding--2">
<div class="c-siteselector c-siteselector--radius-sm c-siteselector--primary" data-uid="673ed7a2336ca">
<!-- nav.blade.php -->
<ul class="c-nav c-siteselector__items c-nav--depth-1 unlist c-nav--horizontal" aria-orientation="horizontal" role="menu" js-keep-in-viewport-after-resize="1" id="673ed7a2336f2" data-uid="673ed7a2336f2">
<li id="673ed7a2336f2-6333557481611064882-0__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1 is-current" role="menuitem" data-depth="1" aria-label="This site">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a2336f2-6333557481611064882-0__label" href="https://styleguide.getmunicipio.com" target="_top" id="673ed7a2336f2-6333557481611064882-0__label" data-uid="673ed7a2337a6">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="673ed7a2336f2-602395168725937591-1__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Google">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a2336f2-602395168725937591-1__label" href="https://google.com" target="_top" id="673ed7a2336f2-602395168725937591-1__label" data-uid="673ed7a233836">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="673ed7a2336f2-6179782654754305625-2__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Facebook">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a2336f2-6179782654754305625-2__label" href="https://facebok.com" target="_top" id="673ed7a2336f2-6179782654754305625-2__label" data-uid="673ed7a2338c3">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="673ed7a2336f2-4650846088641978691-3__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Twitter">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a2336f2-4650846088641978691-3__label" href="https://twitter.com" target="_top" id="673ed7a2336f2-4650846088641978691-3__label" data-uid="673ed7a23394e">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Twitter
</span>
</a>
</div>
</li>
</ul>
</div></div>
<div class="u-padding--2">
<div class="c-siteselector c-siteselector--radius-md c-siteselector--primary" data-uid="673ed7a23399b">
<!-- nav.blade.php -->
<ul class="c-nav c-siteselector__items c-nav--depth-1 unlist c-nav--horizontal" aria-orientation="horizontal" role="menu" js-keep-in-viewport-after-resize="1" id="673ed7a2339c4" data-uid="673ed7a2339c4">
<li id="673ed7a2339c4-8961266187299579346-0__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1 is-current" role="menuitem" data-depth="1" aria-label="This site">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a2339c4-8961266187299579346-0__label" href="https://styleguide.getmunicipio.com" target="_top" id="673ed7a2339c4-8961266187299579346-0__label" data-uid="673ed7a233a69">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="673ed7a2339c4-1787069213937703398-1__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Google">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a2339c4-1787069213937703398-1__label" href="https://google.com" target="_top" id="673ed7a2339c4-1787069213937703398-1__label" data-uid="673ed7a233b02">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="673ed7a2339c4-3126286872315400016-2__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Facebook">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a2339c4-3126286872315400016-2__label" href="https://facebok.com" target="_top" id="673ed7a2339c4-3126286872315400016-2__label" data-uid="673ed7a233b9a">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="673ed7a2339c4-2736035749774074180-3__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Twitter">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a2339c4-2736035749774074180-3__label" href="https://twitter.com" target="_top" id="673ed7a2339c4-2736035749774074180-3__label" data-uid="673ed7a233c25">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Twitter
</span>
</a>
</div>
</li>
</ul>
</div></div>
<div class="u-padding--2">
<div class="c-siteselector c-siteselector--radius-lg c-siteselector--primary" data-uid="673ed7a233c70">
<!-- nav.blade.php -->
<ul class="c-nav c-siteselector__items c-nav--depth-1 unlist c-nav--horizontal" aria-orientation="horizontal" role="menu" js-keep-in-viewport-after-resize="1" id="673ed7a233c9a" data-uid="673ed7a233c9a">
<li id="673ed7a233c9a-693348814063148972-0__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1 is-current" role="menuitem" data-depth="1" aria-label="This site">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a233c9a-693348814063148972-0__label" href="https://styleguide.getmunicipio.com" target="_top" id="673ed7a233c9a-693348814063148972-0__label" data-uid="673ed7a233d3d">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="673ed7a233c9a-3254299457700666572-1__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Google">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a233c9a-3254299457700666572-1__label" href="https://google.com" target="_top" id="673ed7a233c9a-3254299457700666572-1__label" data-uid="673ed7a233dcd">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="673ed7a233c9a-6974064041815521696-2__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Facebook">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a233c9a-6974064041815521696-2__label" href="https://facebok.com" target="_top" id="673ed7a233c9a-6974064041815521696-2__label" data-uid="673ed7a233e58">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="673ed7a233c9a-302304145386335412-3__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Twitter">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a233c9a-302304145386335412-3__label" href="https://twitter.com" target="_top" id="673ed7a233c9a-302304145386335412-3__label" data-uid="673ed7a233ee4">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Twitter
</span>
</a>
</div>
</li>
</ul>
</div></div>
<div class="u-padding--2">
<div class="c-siteselector c-siteselector--radius-pill c-siteselector--primary" data-uid="673ed7a233f30">
<!-- nav.blade.php -->
<ul class="c-nav c-siteselector__items c-nav--depth-1 unlist c-nav--horizontal" aria-orientation="horizontal" role="menu" js-keep-in-viewport-after-resize="1" id="673ed7a233f61" data-uid="673ed7a233f61">
<li id="673ed7a233f61-5572346459907729469-0__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1 is-current" role="menuitem" data-depth="1" aria-label="This site">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a233f61-5572346459907729469-0__label" href="https://styleguide.getmunicipio.com" target="_top" id="673ed7a233f61-5572346459907729469-0__label" data-uid="673ed7a234005">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="673ed7a233f61-4440938435863915807-1__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Google">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a233f61-4440938435863915807-1__label" href="https://google.com" target="_top" id="673ed7a233f61-4440938435863915807-1__label" data-uid="673ed7a234094">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="673ed7a233f61-8721092261661317694-2__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Facebook">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a233f61-8721092261661317694-2__label" href="https://facebok.com" target="_top" id="673ed7a233f61-8721092261661317694-2__label" data-uid="673ed7a23411e">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="673ed7a233f61-1785267130269144052-3__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Twitter">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a233f61-1785267130269144052-3__label" href="https://twitter.com" target="_top" id="673ed7a233f61-1785267130269144052-3__label" data-uid="673ed7a2341a7">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Twitter
</span>
</a>
</div>
</li>
</ul>
</div></div>
@foreach(['xs', 'sm', 'md', 'lg', 'pill'] as $radius)
<div class="u-padding--2">
@siteselector([
'radius' => $radius,
'items' => [
['label' => 'This site', 'href' => 'https://' . $_SERVER['HTTP_HOST']],
['label' => 'Google', 'href' => 'https://google.com'],
['label' => 'Facebook', 'href' => 'https://facebok.com'],
['label' => 'Twitter', 'href' => 'https://twitter.com']
]
])
@endsiteselector
</div>
@endforeach
Siteselector - Many options (overflowing)
<div style="min-height: 500px;">
<div class="c-siteselector c-siteselector--radius-full c-siteselector--primary" data-uid="673ed7a234470">
<!-- nav.blade.php -->
<ul class="c-nav c-siteselector__items c-nav--depth-1 unlist c-nav--horizontal" aria-orientation="horizontal" role="menu" js-keep-in-viewport-after-resize="1" id="673ed7a23449c" data-uid="673ed7a23449c">
<li id="673ed7a23449c-2353980086648514679-0__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1" role="menuitem" data-depth="1" aria-label="Google">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a23449c-2353980086648514679-0__label" href="https://google.com" target="_top" id="673ed7a23449c-2353980086648514679-0__label" data-uid="673ed7a234550">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="673ed7a23449c-5176169549354280924-1__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-1 is-current" role="menuitem" data-depth="1" aria-label="This site">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a23449c-5176169549354280924-1__label" href="https://styleguide.getmunicipio.com" target="_top" id="673ed7a23449c-5176169549354280924-1__label" data-uid="673ed7a2345e6">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="673ed7a23449c-expand-2__item" class="c-siteselector__more c-nav__item c-nav__item--default c-nav__item--depth-1 has-fetched has-children has-toggle" role="menuitem" data-depth="1" aria-label="">
<div class="c-nav__item-wrapper">
<!-- Hidden link: Both label and icon is missing -->
<button class="c-button c-nav__toggle c-button__basic c-button__basic--default c-button--md c-button--icon-only" target="_top" aria-label="Expand" type="button" data-uid="673ed7a234694">
<span class="c-button__label">
<span class="c-button__label-icon ">
<!-- icon.blade.php -->
<span class="c-icon c-icon--expand-more c-icon--material c-icon--material-expand_more material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined c-icon--size-md" aria-hidden="false" material-symbol="expand_more" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" alt="Icon: Undefined" data-uid="673ed7a2346e3">
</span>
</span>
</span> </button> </div>
<!-- nav.blade.php -->
<ul class="c-nav c-nav--bordered c-nav--height-sm c-nav--depth-2 unlist c-nav--vertical" aria-orientation="vertical" role="menu" js-keep-in-viewport-after-resize="1" id="673ed7a23474b" data-uid="673ed7a23474b">
<li id="673ed7a23474b-6422067724364190897-0__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-2" role="menuitem" data-depth="2" aria-label="Facebook">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a23474b-6422067724364190897-0__label" href="https://facebok.com" target="_top" id="673ed7a23474b-6422067724364190897-0__label" data-uid="673ed7a2347f1">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="673ed7a23474b-6183926024864715937-1__item" class="c-siteselector__item c-nav__item c-nav__item--default c-nav__item--depth-2" role="menuitem" data-depth="2" aria-label="Twitter">
<div class="c-nav__item-wrapper">
<a class="c-link c-nav__link" id="673ed7a23474b-6183926024864715937-1__label" href="https://twitter.com" target="_top" id="673ed7a23474b-6183926024864715937-1__label" data-uid="673ed7a234886">
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Twitter
</span>
</a>
</div>
</li>
</ul>
</li>
</ul>
</div></div>
<div style="min-height: 500px;">
@siteselector([
'items' => [
['label' => 'Google', 'href' => 'https://google.com'],
['label' => 'This site', 'href' => 'https://' . $_SERVER['HTTP_HOST']],
['label' => 'Facebook', 'href' => 'https://facebok.com'],
['label' => 'Twitter', 'href' => 'https://twitter.com']
],
'maxItems' => 2
])
@endsiteselector
</div>
Blade component parameters
Key | Default value | Type | Available values | Description |
element | div | string | - | What element the container will use. |
items | [] | array | - | Nav menu items |
maxItems | false | boolean | - | The number of items to display before folding to a dropdown. |
showMoreLabel | string | - | Te label of show more button. | |
radius | full | string | - | Amount of radius (xs, sm, md, lg, full) |
color | primary | string | - | Primary or secondary color. |
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. |