Since: UXP 2, PS 22.0.0
A heading element, representing the fourth 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.
Copied to your clipboard<h4>Hello, world!</h4>
Spectrum UXP Correlate#
When using Spectrum UXP, you can get a similar rendering using
Copied to your clipboard<sp-heading size="XS">Hello, World</sp-heading>