Fundamentals
Components
Code Utilities
Demo
BcTooltip
Description
The BcTooltip component provides additional context or information when users hover over or focus on an element. It supports both simple text tooltips and more complex HTML tooltips, with customizable positioning options.
Sample
Parameter Tooltip
This element holds a Parameter Tooltip
Html Tooltip (BcCard)
This element holds an HTML Tooltip
Attributes
Tooltip
string
Defines the text to be displayed in the tooltip.
ShowTooltip
bool
Allows programmatic control to show or hide the tooltip.
TooltipDirection
BcTooltipDirection
Sets the direction where the tooltip should appear.
ChildContent
RenderFragment
Defines the content that the tooltip is attached to.
HtmlTooltip
RenderFragment
Allows custom HTML tooltips to be used instead of text.