You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A highly customizable PowerApps Component Framework (PCF) control that provides rich HTML tooltip functionality with extensive styling and animation options.
Examples of tooltip are found in : /examples/HTMLTooltipExamples.html
π Features
Rich HTML Content: Display formatted HTML content in tooltips with automatic sanitization
Smart Positioning: Intelligent tooltip placement using Floating UI with automatic repositioning
Responsive Design: Automatically adjusts to component resizing in PowerApps
Extensive Customization: 20+ configurable properties for complete control over appearance and behavior
Smooth Animations: Multiple animation types with customizable timing and directions
Accessibility: Built with modern React and follows accessibility best practices
π¦ Installation
Download the latest release from the releases section
Import the solution into your PowerApps environment
Add the component to your canvas app or model-driven form
π― Use Cases
Help Text: Provide contextual help information for form fields
Rich Descriptions: Display formatted descriptions with HTML content
Interactive Guides: Create guided experiences with styled tooltips
Data Visualization: Show additional details for charts and reports
User Onboarding: Create informative tooltips for new user experiences
βοΈ Properties
Core Properties
Property
Type
Required
Description
Tooltip Content
Text Area
β
HTML content to display in the tooltip
Placement
Text
β
Tooltip position: top, bottom, left, right
Is Visible
Yes/No
β
Control tooltip visibility
Container Styling
Property
Type
Default
Description
Container Background Color
Text
-
Background color of the container (CSS color)
Tooltip Dimensions
Property
Type
Default
Description
Tooltip Width
Number
320px
Width of the tooltip in pixels
Tooltip Height
Number
Auto
Height of the tooltip in pixels
Content Height Auto Resizable
Yes/No
true
Auto-resize height to content or use fixed height
Arrow Customization
Property
Type
Default
Description
Arrow Size
Number
8px
Size of the tooltip arrow in pixels
Arrow Color
Text
#fff
Color of the tooltip arrow (CSS color)
Tooltip Offset
Number
8px
Gap between tooltip and container in pixels
Border Styling
Property
Type
Default
Description
Border Width
Number
-
Width of the tooltip border in pixels
Border Color
Text
-
Color of the tooltip border (CSS color)
Border Style
Text
-
Style of the border (solid, dashed, dotted, etc.)
Border Radius
Number
8px
Border radius of the tooltip in pixels
Shadow Effects
Property
Type
Default
Description
Shadow Offset X
Number
0px
Horizontal shadow offset in pixels
Shadow Offset Y
Number
2px
Vertical shadow offset in pixels
Shadow Blur
Number
12px
Shadow blur radius in pixels
Shadow Spread
Number
0px
Shadow spread radius in pixels
Shadow Color
Text
rgba(0,0,0,0.15)
Shadow color (CSS color)
Animation Controls
Property
Type
Default
Description
Transition Duration
Number
200ms
Duration of show/hide transitions
Animation Type
Text
fade
Animation type: fade, scale, slide
Animation Direction
Text
up
Direction for slide animations: up, down, left, right
Hover Delay
Number
0ms
Delay before showing tooltip on hover
Hide Delay
Number
100ms
Delay before hiding tooltip after mouse leave
Padding Controls
Property
Type
Default
Description
Padding Top
Number
12px
Top padding inside the tooltip
Padding Right
Number
12px
Right padding inside the tooltip
Padding Bottom
Number
12px
Bottom padding inside the tooltip
Padding Left
Number
12px
Left padding inside the tooltip
π¨ Styling Examples
Basic HTML Tooltip
<b>Important Information</b><br/><i>This field is required for processing.</i>
Rich Content with Styling
<divstyle="color: #e74c3c;"><h3style="margin: 0; color: #2c3e50;">β οΈ Warning</h3><pstyle="margin: 5px 0;">Please review the following:</p><ulstyle="margin: 5px 0; padding-left: 20px;"><li>Verify all required fields</li><li>Check data accuracy</li><li>Confirm before submitting</li></ul></div>
Automatic HTML sanitization to prevent XSS attacks
Script and style tag removal
Event handler attribute stripping
Safe inline styling with reset for common elements
π± Responsive Behavior
The component automatically:
Adjusts to PowerApps component resizing
Repositions tooltips to stay within viewport
Handles container size changes gracefully
Maintains aspect ratios across different screen sizes
π Troubleshooting
Common Issues
Tooltip not showing:
Verify Is Visible property is set to Yes
Check that Tooltip Content is not empty
Ensure the component has sufficient space
Positioning issues:
Adjust Tooltip Offset to create more space
Try different Placement values
Check for container overflow settings
Styling not applied:
Verify HTML syntax in Tooltip Content
Check CSS color values are valid
Ensure border properties are complete
π License
This project is licensed under the MIT License β see the LICENSE file for details.
About
A highly customizable PowerApps Component Framework (PCF) control that provides rich HTML tooltip functionality with extensive styling and animation options