Building on Sofie's answer, if you are importing the scss from the node_modules
folder and want to know all the modules that are available, there is a list of them on the Swiper website here: https://swiperjs.com/swiper-api#modules. This will be a list of modules from the latest version swiperjs.
If you are looking for a quick copy and paste to import all the modules from your node_modules folder into your main scss file here is a list of all the modules:
// Core
@import "../../node_modules/swiper/swiper.scss";
// Modules
@import "../../node_modules/swiper/modules/a11y/a11y.scss";
@import "../../node_modules/swiper/modules/autoplay/autoplay.scss";
@import "../../node_modules/swiper/modules/controller/controller.scss";
@import "../../node_modules/swiper/modules/effect-cards/effect-cards.scss";
@import "../../node_modules/swiper/modules/effect-coverflow/effect-coverflow.scss";
@import "../../node_modules/swiper/modules/effect-creative/effect-creative.scss";
@import "../../node_modules/swiper/modules/effect-cube/effect-cube.scss";
@import "../../node_modules/swiper/modules/effect-fade/effect-fade.scss";
@import "../../node_modules/swiper/modules/effect-flip/effect-flip.scss";
@import "../../node_modules/swiper/modules/free-mode/free-mode.scss";
@import "../../node_modules/swiper/modules/grid/grid.scss";
@import "../../node_modules/swiper/modules/hash-navigation/hash-navigation.scss";
@import "../../node_modules/swiper/modules/history/history.scss";
@import "../../node_modules/swiper/modules/keyboard/keyboard.scss";
@import "../../node_modules/swiper/modules/manipulation/manipulation.scss";
@import "../../node_modules/swiper/modules/mousewheel/mousewheel.scss";
@import "../../node_modules/swiper/modules/navigation/navigation.scss";
@import "../../node_modules/swiper/modules/pagination/pagination.scss";
@import "../../node_modules/swiper/modules/parallax/parallax.scss";
@import "../../node_modules/swiper/modules/scrollbar/scrollbar.scss";
@import "../../node_modules/swiper/modules/thumbs/thumbs.scss";
@import "../../node_modules/swiper/modules/virtual/virtual.scss";
@import "../../node_modules/swiper/modules/zoom/zoom.scss";
These modules are correct for the 9.4.1 release. There may be more modules added in future releases.
Note: I develop all my styles in my dev/styles
folder, so go back to folder levels to my project root with the ../..
command in the file path, then go to into the node_modules
etc folder that lives in my root directory. You will need to customise the relative path to the node_modules folder to suit your needs.
I also comment out all of the import module lines so they aren't all added to my css styles, then only uncomment and import the styles I need for my project. This keeps the CSS stylesheet as small as possible.