Articles in this section
Category / Section

How to Customize Tooltip Appearance in Symbol in React Diagram?

2 mins read

The Syncfusion React Diagram provides support for tooltips to indicate the names of the symbols in the symbol palette.

By default, tooltips are rendered with a specific background and contrasting text according to the referred theme. To modify the default appearance of tooltips in the symbol palette, you can override specific CSS properties.

For example, if you wish to change the background color and text color to resemble standard browser tooltips, add the following CSS code snippet to your index.css file in your project.

.e-tooltip-wrap .e-tip-content {
  background-color: white;
  color: black;
}

.e-arrow-tip .e-tip-top {
  visibility: hidden;
}

Please refer the below sample for reference.

Sample: Custom tooltip appearance in symbols palette sample

By following these steps, you can easily customize the tooltip appearance to better match your application’s design preferences.

Conclusion

I hope you enjoyed learning about how to customize tooltip appearance in symbol in React Diagram.
You can refer to our React Diagram feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications.

You can also explore our React Diagram Example to understand how to create and manipulate data. For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls. If you have any queries or require clarifications, please let us know in the comments section below.

You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!


Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied