Use Addon

Addons are sets of additional components, layouts, styles, configuration…etc. that you can use in your presentation.

They are quite similar to themes, but in general:

  • they don’t affect the global styles of your slides
  • you can use multiple addons in one presentation

To use addons, you have to install them manually via:

  1. $ npm install [slidev-addon-package1] [slidev-addon-package2]

And then declare the addons either in your frontmatter:

  1. ---
  2. addons:
  3. - slidev-addon-package1
  4. - slidev-addon-package2
  5. ---

Or in your package.json file:

  1. // package.json
  2. {
  3. "slidev": {
  4. "addons": [
  5. "slidev-addon-package1",
  6. "slidev-addon-package2",
  7. ]
  8. }
  9. }