Skip to content

Installation

No build step, no install. Paste this into any HTML page:

<script src="https://cdn.jsdelivr.net/npm/mulling@1/dist/mulling.umd.js"></script>
<script>Mulling.defineElement();</script>
<mulling-status state="thinking"></mulling-status>

You should see this:

A loader appears where you put the tag.

@1 always loads the newest 1.x release. To lock an exact version, write mulling@1.0.0 instead.

Next: change the state as your AI works.

If your project has a build step (Vite, Next.js, webpack and so on), install the package instead:

Terminal window
npm install mulling

Then import it. The quick start shows the code for plain JavaScript, React and Vue.

  • Current Chrome, Edge, Firefox or Safari.
  • React 17 or later for the React component, Vue 3.3 or later for the Vue component.
  • Types ship with the package and work with every TypeScript module resolution mode, including NodeNext. Every entry point (a path you can import from, such as mulling/core) works with both import and require().