Spectrum UXP Reference

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

data-variant=warning
data-slots=text
The Spectrum UXP component API for UXP 4.1 is not perfectly compatible with the published version of the Spectrum Web Components API. Future versions of UXP will have a way to specify the version you need to use, but this is not yet availablein UXP 4.1.

Why Spectrum UXP?

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.

<sp-button variant="primary">I'm a Spectrum button</sp-button>

Pages in this section