Yes, you can install NPM packages in Framer X. You'll need to install them in your project's project folder.
- If you're using a regular
.framerxfile, you can open your project's Project Folder by selecting File > Show Project Folder from the menu.
- If you're using a folder-backed project, your project's folder is the project folder itself.
To learn about using components from NPM libraries, see our answer to How do I import other components into my code component?.