Skip to main content

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 id prop on Blockquote, Code, Emphasis, ExternalLink, Highlight, List, Strikethrough, and Strong.

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 FormattedMessage within the Highlight component. (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 Highlight component is rendered inside an element styled with display: 'flex'. (APPDEV-12362)
Still have questions?
Find answers in the Dynatrace Community