h5
Since UXP v2.0
A heading element, representing the fifth level in the document hierarchy.
This element is not theme-aware. If you want theme-aware elements, you should use the Spectrum UXP correlates, or you can style them manually based upon the prefers-color-scheme
media query.
See: https://developer.mozilla.org/en/docs/Web/HTML/Element/h5
Example
Copied to your clipboard<h5>Hello, world!</h5>
Spectrum UXP Correlate
When using Spectrum UXP, you can get a similar rendering using sp-heading
.
Copied to your clipboard<sp-heading size="XXS">Hello, World</sp-heading>