# Tooltip > Contextual hover information display Source: https://shellui.dev/docs/v0.4/components/layout/tooltip The Tooltip component displays brief informational text when users hover over or focus on an element. Use tooltips for icon-only buttons, truncated text, or any element that benefits from additional context. ## Installation ```bash shellui add tooltip ``` ## Basic Usage ```razor

This is a tooltip

``` ## Placement Control where the tooltip appears relative to the trigger: ```razor

Tooltip on top

Tooltip on bottom

Tooltip on left

Tooltip on right

``` ## Icon Button Tooltip A common pattern for explaining icon-only buttons: ```razor

Add new item

``` ## Toolbar with Tooltips ```razor

Bold

Italic

Underline

``` ## API Reference | Property | Type | Default | Description | |----------|------|---------|-------------| | `Trigger` | `RenderFragment?` | `null` | Element that activates the tooltip | | `Content` | `RenderFragment?` | `null` | Tooltip content | | `Placement` | `string` | `"top"` | Position relative to trigger (`top`, `bottom`, `left`, `right`) | | `Class` | `string?` | `null` | Additional CSS classes | ## Accessibility The Tooltip component includes: - Shows on hover and focus - Hides on Escape key press - Proper `role="tooltip"` and `aria-describedby` - Respects `prefers-reduced-motion` - Keyboard accessible via focus