You’ll find some minimal styles and a few helpful instructions in the starter
.scss files included with a new install of Sage.
The NPM registry is a repository of over 350,000 open-source packages that will save you tons of time.
You can find an NPM package for just about everything. Using a lightweight library that just requires a little configuration or adding a few lines of code is extremely helpful when you need to create interactive or complicated UI elements.
Using a package is typically as easy as running
npm install package-name or
yarn add package-name where
package-name is the name of your NPM package.
NOTE :- You should always install NPM dependencies from your theme root.