Edit in GitHubLog an issue

hr

Since: UXP 2, PS 22.0.0

Renders a horizontal rule.

See: https://developer.mozilla.org/en/docs/Web/HTML/Element/hr

Example

Copied to your clipboard
1<hr class="large" />
2<hr class="medium" /> <!-- default -->
3<hr class="small" />

Spectrum UXP Correlate#

When using Spectrum UXP, you can get a similar rendering using sp-divider.

Copied to your clipboard
1<sp-divider size="large"></sp-divider>
2<sp-divider size="medium"></sp-divider>
3<sp-divider size="small"></sp-divider> <!-- default -->
Copyright © 2021 Adobe. All rights reserved.