This is a collection of Svelte components that can be used to create presentations using Reveal.js. A lot of component are straight up copied from Animotion.js and adapted to be used as a library for Svelte without needing to use their template.
You can see an example code in the src/routes
folder.
This project uses Bun instead of Node.js. To start developing, install bun first.
bun install
bun run dev
Everything inside src/lib
is part of your library, everything inside src/routes
can be used as a showcase or preview app.
To build your library:
bun run package
Go into the package.json
and give your package the desired name through the "name"
option. Also consider adding a "license"
field and point it to a LICENSE
file which you can create from a template (one popular option is the MIT license).
To publish your library to npm:
npm publish