Highlight
- Changelog
Use the Highlight component to highlight one or more substrings within a text.
Package @dynatrace/strato-components, latest version 3.15.1. Below are the changes to Highlight. See Components changelog for all changes to the package.
3.11.0 Released Aug 10, 2026
Updates
Typography
- You can now set the
idprop onBlockquote,Code,Emphasis,ExternalLink,Highlight,List,Strikethrough, andStrong.
1.15.0 Released Jan 8, 2026
Updates
- Now uses CSS Custom Highlight API instead of the
<mark>HTML element. (APPDEV-14731)
1.5.0 Released Apr 24, 2025
- Now preserves whitespace around the highlighted term. (APPDEV-12895)
1.4.0 Released Apr 8, 2025
- Added support for using
FormattedMessagewithin theHighlightcomponent. (APPDEV-12687) - Highlighted text reflows correctly when wrapped inside a smaller container. (APPDEV-12666)
1.2.0 Released Mar 10, 2025
- Whitespaces are preserved when the
Highlightcomponent is rendered inside an element styled withdisplay: 'flex'. (APPDEV-12362)