Tooltip
Tooltip
Bottom
Top
Right
Left
<div class="c-tooltip c-tooltip--bottom c-tooltip--hidden" original-placement="c-tooltip--bottom" id="662a6ccfa0435" data-uid="662a6ccfa0435">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="662a6ccfa0435">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="662a6ccfa04ac">
Bottom
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols-outlined material-symbols-outlined--filled c-icon--size-md" material-symbol="info" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" aria-hidden="true" data-uid="662a6ccfa051d">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="662a6ccfa0435">
<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="662a6ccfa055f" data-uid="662a6ccfa055f">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="662a6ccfa055f">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="662a6ccfa0595">
Top
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols-outlined material-symbols-outlined--filled c-icon--size-md" material-symbol="info" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" aria-hidden="true" data-uid="662a6ccfa05d1">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="662a6ccfa055f">
<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="662a6ccfa0612" data-uid="662a6ccfa0612">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="662a6ccfa0612">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="662a6ccfa0644">
Right
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols-outlined material-symbols-outlined--filled c-icon--size-md" material-symbol="info" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" aria-hidden="true" data-uid="662a6ccfa067c">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="662a6ccfa0612">
<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="662a6ccfa06ae" data-uid="662a6ccfa06ae">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="662a6ccfa06ae">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="662a6ccfa06de">
Left
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols-outlined material-symbols-outlined--filled c-icon--size-md" material-symbol="info" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" aria-hidden="true" data-uid="662a6ccfa0713">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="662a6ccfa06ae">
<div class="c-tooltip__content">
Left tooltip
</div>
<span class="c-tooltip__arrow"></span>
</div>
</div>
</div>
@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
Blade component parameters
Key | Default value | Type | Available values | Description |
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="662a6ccfa0d49" data-uid="662a6ccfa0d49">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="662a6ccfa0d49">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="662a6ccfa0d82">
Bottom
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols-outlined material-symbols-outlined--filled c-icon--size-md" material-symbol="info" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" aria-hidden="true" data-uid="662a6ccfa0dc9">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="662a6ccfa0d49">
<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="662a6ccfa0e00" data-uid="662a6ccfa0e00">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="662a6ccfa0e00">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="662a6ccfa0e30">
Top
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols-outlined material-symbols-outlined--filled c-icon--size-md" material-symbol="info" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" aria-hidden="true" data-uid="662a6ccfa0e67">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="662a6ccfa0e00">
<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="662a6ccfa0e99" data-uid="662a6ccfa0e99">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="662a6ccfa0e99">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="662a6ccfa0ec8">
Right
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols-outlined material-symbols-outlined--filled c-icon--size-md" material-symbol="info" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" aria-hidden="true" data-uid="662a6ccfa0efb">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="662a6ccfa0e99">
<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="662a6ccfa0f2c" data-uid="662a6ccfa0f2c">
<div class="c-tooltip__wrapper" tabindex="1" aria-describedby="662a6ccfa0f2c">
<!-- typography.blade.php original: strong -->
<strong class="c-typography u-margin__right--1 c-typography__variant--strong" data-uid="662a6ccfa0f5a">
Left
</strong> <!-- icon.blade.php -->
<span class="c-icon c-icon--info c-icon--material c-icon--material-info material-symbols-outlined material-symbols-outlined--filled c-icon--size-md" material-symbol="info" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" aria-hidden="true" data-uid="662a6ccfa0f8c">
</span>
<div class="c-tooltip__container" aria-hidden="true" role="tooltip" id="662a6ccfa0f2c">
<div class="c-tooltip__content">
Left tooltip
</div>
<span class="c-tooltip__arrow"></span>
</div>
</div>
</div>
@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
Blade component parameters
Key | Default value | Type | Available values | Description |
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. |