Skip to content

Latest commit

 

History

History

embeddable

MagicBell Notification Inbox

This package contains a notification inbox for your site powered by MagicBell.

Note

Don't use this package when you're using React. Use @magicbell/magicbell-react or @magicbell/react-headless instead.

Quick Start

npm i @magicbell/embeddable
<div id="notifications-inbox" />

<script type="module">
  import { renderWidget } from '@magicbell/embeddable';

  const targetElement = document.getElementById('notifications-inbox');
  const options = {
    apiKey: MAGICBELL_API_KEY,
    userEmail: CURRENT_USER_EMAIL,
    height: 500,
  };

  renderWidget(targetElement, options);
</script>

Documentation

Please see the MagicBell documentation for more information about this SDK.