Edit in GitHubLog an issue

Spectrum UXP Reference

Spectrum UXP is an implementation of the Spectrum Web Components API and the Spectrum Design System.

Why Spectrum UXP?#

  • Based on Web Components standard - The Web Components standard means that it's easy to work with Spectrum UXP widgets, just as if they were any other HTML tag.
  • Framework agnostic - Because web components are framework agnostic, you can use Spectrum UXP with any framework that works with UXP. Do note, however, that some frameworks do have special idioms for working with web components, so be sure to read the documentation for your framework.
  • Prepare for the future - Spectrum UXP components will become the only supported user-interface controls in UXP in the future. Prepare now by using them instead of the HTML correlates.

Sample usage#

Using a Spectrum UXP component in a UXP plugin is easy. There are no libraries or stylesheets to include. Just use them as you would any other HTML tag.

Copied to your clipboard
<sp-button variant="primary">I'm a Spectrum button</sp-button>

Pages in this section#

Copyright © 2021 Adobe. All rights reserved.