Installation
Using CDN
To use our components via CDN, load the following script on the client side. You can either load all components at once or modularly pick the ones you need:
html
<!-- Load all components -->
<script src="https://cdn.jsdelivr.net/npm/@mariusbongarts/previewbox/dist/index.min.js"></script>
<!-- Or load specific components -->
<script src="https://cdn.jsdelivr.net/npm/@mariusbongarts/previewbox/dist/link/index.min.js"></script>
Using Package Manager
If you are using a bundler, you can install the package via npm:
bash
npm install @mariusbongarts/previewbox
Then, import the component in your JavaScript or TypeScript file:
javascript
// Load all components
import '@mariusbongarts/previewbox/dist';
// Or load specific components
import '@mariusbongarts/previewbox/dist/link/index';