How to use Adobe Design tokens - Spectrum

Official link:https://spectrum.adobe.com/

My Sample

Tutorial: add a Spectrum button

1. Installing Spectrum CSS

2. Setting up global variables

3. Adding Spectrum CSS

4. Add button

5. Final html

You need to import the package in order to use the component and include in the css file declaration.

1. Install the corresponding component

2. Import card css

Last updated

Was this helpful?