Skip to main content

Packages

PackageUse it when
@qirtaas/coreVanilla JS / any framework. The mount API + client.
@qirtaas/reactYou want idiomatic React components.
@qirtaas/vueYou want idiomatic Vue components.
The React and Vue packages are thin wrappers around @qirtaas/core’s mount API. Vue is bundled into @qirtaas/core, so a React host does not need Vue installed.

Install

npm install @qirtaas/core

Styles

@qirtaas/core ships its own scoped stylesheet. In a bundler build it is imported as a side effect of the package entry and auto-injected at runtime — no manual CSS import is required for the mount API. If your setup needs the stylesheet explicitly (e.g. a strict CSP or a non-bundled <script> include), it is published at:
@qirtaas/core/qirtaas.css

Import

import { createQirtaasClient } from "@qirtaas/core";
Next: configure the client.