Edit in GitHubLog an issue

hr

Since UXP v2.0

Renders a horizontal rule.

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

Example

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

Spectrum UXP Correlate

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

Copied to your clipboard
<sp-divider size="large"></sp-divider>
<sp-divider size="medium"></sp-divider>
<sp-divider size="small"></sp-divider> <!-- default -->
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.