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="663843af01222">
<!-- 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="663843af01d1c" data-uid="663843af01d1c">
<li id="663843af01d1c-5917879441450926439-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="663843af01d1c-5917879441450926439-0__label" href="https://styleguide.getmunicipio.com" target="_top" id="663843af01d1c-5917879441450926439-0__label" data-uid="663843af01eeb">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="663843af01d1c-3751403820220717558-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="663843af01d1c-3751403820220717558-1__label" href="https://google.com" target="_top" id="663843af01d1c-3751403820220717558-1__label" data-uid="663843af01fc9">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="663843af01d1c-7507206921310409149-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="663843af01d1c-7507206921310409149-2__label" href="https://facebok.com" target="_top" id="663843af01d1c-7507206921310409149-2__label" data-uid="663843af02084">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="663843af01d1c-1022371372369587247-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="663843af01d1c-1022371372369587247-3__label" href="https://twitter.com" target="_top" id="663843af01d1c-1022371372369587247-3__label" data-uid="663843af02138">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- 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="663843af0219a">
<!-- 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="663843af021c7" data-uid="663843af021c7">
<li id="663843af021c7-4749601053211120432-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="663843af021c7-4749601053211120432-0__label" href="https://styleguide.getmunicipio.com" target="_top" id="663843af021c7-4749601053211120432-0__label" data-uid="663843af022a0">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="663843af021c7-9142398477349163128-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="663843af021c7-9142398477349163128-1__label" href="https://google.com" target="_top" id="663843af021c7-9142398477349163128-1__label" data-uid="663843af02357">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="663843af021c7-3178231593587054921-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="663843af021c7-3178231593587054921-2__label" href="https://facebok.com" target="_top" id="663843af021c7-3178231593587054921-2__label" data-uid="663843af02407">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="663843af021c7-2863248417787094028-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="663843af021c7-2863248417787094028-3__label" href="https://twitter.com" target="_top" id="663843af021c7-2863248417787094028-3__label" data-uid="663843af024b3">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- 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="663843af02dd3">
<!-- 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="663843af02e05" data-uid="663843af02e05">
<li id="663843af02e05-9147316414424415090-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="663843af02e05-9147316414424415090-0__label" href="https://styleguide.getmunicipio.com" target="_top" id="663843af02e05-9147316414424415090-0__label" data-uid="663843af02f28">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="663843af02e05-3891849913962293416-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="663843af02e05-3891849913962293416-1__label" href="https://google.com" target="_top" id="663843af02e05-3891849913962293416-1__label" data-uid="663843af03013">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="663843af02e05-5182373661433192872-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="663843af02e05-5182373661433192872-2__label" href="https://facebok.com" target="_top" id="663843af02e05-5182373661433192872-2__label" data-uid="663843af030f8">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="663843af02e05-3747957049801460160-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="663843af02e05-3747957049801460160-3__label" href="https://twitter.com" target="_top" id="663843af02e05-3747957049801460160-3__label" data-uid="663843af031d2">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- 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="663843af0322d">
<!-- 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="663843af03259" data-uid="663843af03259">
<li id="663843af03259-8412966648065707919-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="663843af03259-8412966648065707919-0__label" href="https://styleguide.getmunicipio.com" target="_top" id="663843af03259-8412966648065707919-0__label" data-uid="663843af03352">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="663843af03259-6970509069332430404-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="663843af03259-6970509069332430404-1__label" href="https://google.com" target="_top" id="663843af03259-6970509069332430404-1__label" data-uid="663843af0342d">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="663843af03259-8895194389984414622-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="663843af03259-8895194389984414622-2__label" href="https://facebok.com" target="_top" id="663843af03259-8895194389984414622-2__label" data-uid="663843af03505">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="663843af03259-3527695708420302448-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="663843af03259-3527695708420302448-3__label" href="https://twitter.com" target="_top" id="663843af03259-3527695708420302448-3__label" data-uid="663843af035db">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- 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="663843af0363d">
<!-- 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="663843af03668" data-uid="663843af03668">
<li id="663843af03668-5496321161340537185-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="663843af03668-5496321161340537185-0__label" href="https://styleguide.getmunicipio.com" target="_top" id="663843af03668-5496321161340537185-0__label" data-uid="663843af0375f">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="663843af03668-8548226125085671268-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="663843af03668-8548226125085671268-1__label" href="https://google.com" target="_top" id="663843af03668-8548226125085671268-1__label" data-uid="663843af0383a">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="663843af03668-9030190287936199386-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="663843af03668-9030190287936199386-2__label" href="https://facebok.com" target="_top" id="663843af03668-9030190287936199386-2__label" data-uid="663843af03911">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="663843af03668-3207673366454443108-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="663843af03668-3207673366454443108-3__label" href="https://twitter.com" target="_top" id="663843af03668-3207673366454443108-3__label" data-uid="663843af039f8">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- 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="663843af03a54">
<!-- 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="663843af03a82" data-uid="663843af03a82">
<li id="663843af03a82-271093279061840689-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="663843af03a82-271093279061840689-0__label" href="https://styleguide.getmunicipio.com" target="_top" id="663843af03a82-271093279061840689-0__label" data-uid="663843af03b8b">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="663843af03a82-3613393861700923648-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="663843af03a82-3613393861700923648-1__label" href="https://google.com" target="_top" id="663843af03a82-3613393861700923648-1__label" data-uid="663843af03c77">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="663843af03a82-7531893587482364900-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="663843af03a82-7531893587482364900-2__label" href="https://facebok.com" target="_top" id="663843af03a82-7531893587482364900-2__label" data-uid="663843af03d5d">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="663843af03a82-7088080958954196605-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="663843af03a82-7088080958954196605-3__label" href="https://twitter.com" target="_top" id="663843af03a82-7088080958954196605-3__label" data-uid="663843af03e53">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- 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="663843af03eab">
<!-- 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="663843af03ed9" data-uid="663843af03ed9">
<li id="663843af03ed9-435142677934215871-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="663843af03ed9-435142677934215871-0__label" href="https://styleguide.getmunicipio.com" target="_top" id="663843af03ed9-435142677934215871-0__label" data-uid="663843af03fdb">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="663843af03ed9-5694219394462134701-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="663843af03ed9-5694219394462134701-1__label" href="https://google.com" target="_top" id="663843af03ed9-5694219394462134701-1__label" data-uid="663843af040cc">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="663843af03ed9-4516249754990421288-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="663843af03ed9-4516249754990421288-2__label" href="https://facebok.com" target="_top" id="663843af03ed9-4516249754990421288-2__label" data-uid="663843af041b1">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="663843af03ed9-3329406728177528760-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="663843af03ed9-3329406728177528760-3__label" href="https://twitter.com" target="_top" id="663843af03ed9-3329406728177528760-3__label" data-uid="663843af042a2">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- 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="663843af0474b">
<!-- 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="663843af0477b" data-uid="663843af0477b">
<li id="663843af0477b-2295958709756061824-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="663843af0477b-2295958709756061824-0__label" href="https://google.com" target="_top" id="663843af0477b-2295958709756061824-0__label" data-uid="663843af04884">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Google
</span>
</a>
</div>
</li>
<li id="663843af0477b-503574328702124596-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="663843af0477b-503574328702124596-1__label" href="https://styleguide.getmunicipio.com" target="_top" id="663843af0477b-503574328702124596-1__label" data-uid="663843af04965">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
This site
</span>
</a>
</div>
</li>
<li id="663843af0477b-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="663843af04a30">
<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-outlined material-symbols-outlined--filled c-icon--size-md" aria-hidden="true" material-symbol="expand_more" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" data-uid="663843af04a79">
</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="663843af04adf" data-uid="663843af04adf">
<li id="663843af04adf-4370052105016379731-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="663843af04adf-4370052105016379731-0__label" href="https://facebok.com" target="_top" id="663843af04adf-4370052105016379731-0__label" data-uid="663843af04bf2">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- icon.blade.php -->
<span
class="c-nav__text"
style="">
Facebook
</span>
</a>
</div>
</li>
<li id="663843af04adf-1780919900619892289-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="663843af04adf-1780919900619892289-1__label" href="https://twitter.com" target="_top" id="663843af04adf-1780919900619892289-1__label" data-uid="663843af04cd0">
<br />
<b>Warning</b>: The parameter <b>"icon"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Warning</b>: The parameter <b>"size"</b> in the <b>icon</b> component should be of type <b>"string"</b> but was recieved as type <b>"NULL"</b>. in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/BaseController.php</b> on line <b>418</b><br />
<!-- 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. |