Tooltip
Tooltip
Bottom
Top
Right
Left
<div class="c-tooltip c-tooltip--bottom c-tooltip--hidden" original-placement="c-tooltip--bottom" id="id_69d20bfe2787c" data-uid="69d20bfe2787c">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="69d20bfe2787c">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="69d20bfe278fd">
Bottom
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined c-icon--size-md" data-material-symbol="info" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" aria-hidden="false" data-uid="69d20bfe27a60">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="69d20bfe2787c">
<div class="c-tooltip__content">
Bottom tooltip
</div>
<span class="c-tooltip__arrow"></span>
</div>
</div>
</div>
<div class="c-tooltip c-tooltip--top c-tooltip--hidden" original-placement="c-tooltip--top" id="id_69d20bfe27ab1" data-uid="69d20bfe27ab1">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="69d20bfe27ab1">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="69d20bfe27aea">
Top
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined c-icon--size-md" data-material-symbol="info" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" aria-hidden="false" data-uid="69d20bfe27b23">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="69d20bfe27ab1">
<div class="c-tooltip__content">
Top tooltip
</div>
<span class="c-tooltip__arrow"></span>
</div>
</div>
</div>
<div class="c-tooltip c-tooltip--right c-tooltip--hidden" original-placement="c-tooltip--right" id="id_69d20bfe27b5b" data-uid="69d20bfe27b5b">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="69d20bfe27b5b">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="69d20bfe27b8d">
Right
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined c-icon--size-md" data-material-symbol="info" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" aria-hidden="false" data-uid="69d20bfe27bcc">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="69d20bfe27b5b">
<div class="c-tooltip__content">
Right tooltip
</div>
<span class="c-tooltip__arrow"></span>
</div>
</div>
</div>
<div class="c-tooltip c-tooltip--left c-tooltip--hidden" original-placement="c-tooltip--left" id="id_69d20bfe27c02" data-uid="69d20bfe27c02">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="69d20bfe27c02">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="69d20bfe27c32">
Left
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined c-icon--size-md" data-material-symbol="info" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" aria-hidden="false" data-uid="69d20bfe27c65">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="69d20bfe27c02">
<div class="c-tooltip__content">
Left tooltip
</div>
<span class="c-tooltip__arrow"></span>
</div>
</div>
</div>
<a href="#" class="c-tooltip" data-tooltip="Tooltip text that is longer than before, this may very well overflow.">A implementation of data-tooltip (long).</a>
<a href="#" class="c-tooltip" data-tooltip="Tooltip text.">A implementation of data-tooltip (short).</a>
@tooltip([
'label' => 'Bottom',
'icon' => 'info',
'placement' => 'bottom',
])
Bottom tooltip
@endtooltip
@tooltip([
'label' => 'Top',
'icon' => 'info',
'placement' => 'top',
])
Top tooltip
@endtooltip
@tooltip([
'label' => 'Right',
'icon' => 'info',
'placement' => 'right',
])
Right tooltip
@endtooltip
@tooltip([
'label' => 'Left',
'icon' => 'info',
'placement' => 'left',
])
Left tooltip
@endtooltip
<a href="#" class="c-tooltip" data-tooltip="Tooltip text that is longer than before, this may very well overflow.">A implementation of data-tooltip (long).</a>
<a href="#" class="c-tooltip" data-tooltip="Tooltip text.">A implementation of data-tooltip (short).</a>
Blade component parameters
| Key | Default value | Type | Available values | Description |
| componentElement | div | string | - | What element to wrap this component with. |
| typographyElement | strong | string | - | What element to wrap the label with. |
| placement | bottom | string | - | Selects the placement of the tooltip |
| icon | info | string | - | Name of the icon, alternatively false |
| iconSize | md | string | - | Size of the icon |
| label | false | boolean | - | Label of the tooltip, alternatively false |
| 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. |
Tooltip
Bottom
Top
Right
Left
<div class="c-tooltip c-tooltip--bottom c-tooltip--hidden" original-placement="c-tooltip--bottom" id="id_69d20bfe282b0" data-uid="69d20bfe282b0">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="69d20bfe282b0">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="69d20bfe282e6">
Bottom
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined c-icon--size-md" data-material-symbol="info" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" aria-hidden="false" data-uid="69d20bfe28321">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="69d20bfe282b0">
<div class="c-tooltip__content">
Bottom tooltip
</div>
<span class="c-tooltip__arrow"></span>
</div>
</div>
</div>
<div class="c-tooltip c-tooltip--top c-tooltip--hidden" original-placement="c-tooltip--top" id="id_69d20bfe28359" data-uid="69d20bfe28359">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="69d20bfe28359">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="69d20bfe28394">
Top
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined c-icon--size-md" data-material-symbol="info" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" aria-hidden="false" data-uid="69d20bfe283c8">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="69d20bfe28359">
<div class="c-tooltip__content">
Top tooltip
</div>
<span class="c-tooltip__arrow"></span>
</div>
</div>
</div>
<div class="c-tooltip c-tooltip--right c-tooltip--hidden" original-placement="c-tooltip--right" id="id_69d20bfe283fc" data-uid="69d20bfe283fc">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="69d20bfe283fc">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="69d20bfe2842c">
Right
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined c-icon--size-md" data-material-symbol="info" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" aria-hidden="false" data-uid="69d20bfe2845c">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="69d20bfe283fc">
<div class="c-tooltip__content">
Right tooltip
</div>
<span class="c-tooltip__arrow"></span>
</div>
</div>
</div>
<div class="c-tooltip c-tooltip--left c-tooltip--hidden" original-placement="c-tooltip--left" id="id_69d20bfe2848f" data-uid="69d20bfe2848f">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="69d20bfe2848f">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="69d20bfe284bc">
Left
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined c-icon--size-md" data-material-symbol="info" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" aria-hidden="false" data-uid="69d20bfe284ed">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="69d20bfe2848f">
<div class="c-tooltip__content">
Left tooltip
</div>
<span class="c-tooltip__arrow"></span>
</div>
</div>
</div>
<a href="#" class="c-tooltip" data-tooltip="Tooltip text that is longer than before, this may very well overflow.">A implementation of data-tooltip (long).</a>
<a href="#" class="c-tooltip" data-tooltip="Tooltip text.">A implementation of data-tooltip (short).</a>
@tooltip([
'label' => 'Bottom',
'icon' => 'info',
'placement' => 'bottom',
])
Bottom tooltip
@endtooltip
@tooltip([
'label' => 'Top',
'icon' => 'info',
'placement' => 'top',
])
Top tooltip
@endtooltip
@tooltip([
'label' => 'Right',
'icon' => 'info',
'placement' => 'right',
])
Right tooltip
@endtooltip
@tooltip([
'label' => 'Left',
'icon' => 'info',
'placement' => 'left',
])
Left tooltip
@endtooltip
<a href="#" class="c-tooltip" data-tooltip="Tooltip text that is longer than before, this may very well overflow.">A implementation of data-tooltip (long).</a>
<a href="#" class="c-tooltip" data-tooltip="Tooltip text.">A implementation of data-tooltip (short).</a>
Blade component parameters
| Key | Default value | Type | Available values | Description |
| componentElement | div | string | - | What element to wrap this component with. |
| typographyElement | strong | string | - | What element to wrap the label with. |
| placement | bottom | string | - | Selects the placement of the tooltip |
| icon | info | string | - | Name of the icon, alternatively false |
| iconSize | md | string | - | Size of the icon |
| label | false | boolean | - | Label of the tooltip, alternatively false |
| 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. |