Scan your whole stack
Are you using @verbb/plugin-kit-web?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.3.0
@verbb/plugin-kit-web was last scanned on 24 Nov 2026 at version 2.3.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.3.0 LATEST | 24 Nov 2026 | No rules fired |
| 2.2.2 | 19 Nov 2026 | No rules fired |
| 2.2.1 | 15 Nov 2026 | No rules fired |
| 2.2.0 | 10 Nov 2026 | Not shown |
| 2.1.0 | 25 Oct 2026 | Not shown |
Findings for v2.3.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.3.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
@verbb/plugin-kit-webCanonical Craft CP UI as Lit custom elements (<pk-*>) — shadow DOM, --pk-* tokens, and accessibility live here. React and Vue adapters are thin facades over this package.
npm install @verbb/plugin-kit-web
Node >= 20. npm installs the package's declared runtime dependencies. TipTap and CodeMirror cores are needed when you import those component families.
Full Craft wiring (Vite + asset bundle + Twig) is in the Web quick start.
Prefer family side-effect imports so TipTap, CodeMirror, and other heavy surfaces stay out of the graph until you ask for them:
import '@verbb/plugin-kit-web/plugin-kit.css'; // tokens + FOUCE + overlay styles
import '@verbb/plugin-kit-web/components/button.js';
import '@verbb/plugin-kit-web/components/dropdown-menu.js';
import '@verbb/plugin-kit-web/components/icon.js';
// Only the glyphs your `<pk-icon icon="…">` tags need
import { registerIcons, plus, gear } from '@verbb/plugin-kit-icons';
registerIcons({ plus, gear });
<pk-button variant="primary">Save</pk-button>
<pk-dropdown-menu>
<pk-button slot="trigger" with-caret>Actions</pk-button>
<pk-dropdown-item value="duplicate">Duplicate</pk-dropdown-item>
<pk-dropdown-item value="delete">Delete</pk-dropdown-item>
</pk-dropdown-menu>
Family entries live at @verbb/plugin-kit-web/components/{family}.js (for example dropdown-menu.js registers menu, item, separator, and label). TipTap is split (tiptap-editor / tiptap-input / tiptap-content).
Need a typed class?
import { PkButton } from '@verbb/plugin-kit-web/components/button/pk-button.js';
Avoid the package root (@verbb/plugin-kit-web) and @verbb/plugin-kit-web/register in production CP bundles unless you intentionally want the full library (playgrounds, demos).
<pk-icon icon="…"> uses an opt-in registry. Register named glyphs, or import @verbb/plugin-kit-icons/all.js for the full curated set. HTML uses kebab-case (icon="arrow-up"); JS exports are camelCase (arrowUp) and normalize on register.
FOUCE CSS handles visual readiness. When your entry reads properties, focuses elements, or attaches listeners on first load:
import { allDefined } from '@verbb/plugin-kit-web/plugin-kit';
await allDefined();
// or: await allDefined({ root: document.getElementById('my-field') });
const button = document.querySelector('pk-button');
await button?.updateComplete;
allDefined() — page-level or scoped (root) gate before querying pk-*customElements.whenDefined('pk-button') — when you only need one tagelement.updateComplete — after define, before reading reflected attrs / Lit properties| Import | Purpose |
|---|---|
@verbb/plugin-kit-web/plugin-kit.css |
Recommended — tokens + FOUCE + overlay styles |
@verbb/plugin-kit-web/tokens.css |
Design tokens on :root only |
@verbb/plugin-kit-web/utilities/fouce.css |
FOUCE alone (already included in plugin-kit.css) |
Shadow roots reset box-sizing via PkElement. Load plugin-kit.css so it can land in <head> before first paint — do not rely on JS alone to hide undefined elements.
plugin-kit.css hides pk-* until they upgrade (reserve in-flow controls; collapse overlays). Optional .pk-cloak on <html> or a wrapper hides a broader region until all pk-* descendants upgrade. A 2s safety reveal prevents a failed import from blanking the UI forever.
Turbo / Hotwire CP pages:
import { preventTurboFouce } from '@verbb/plugin-kit-web/plugin-kit';
preventTurboFouce();
Details and the FOUCE lab: Reducing FOUCE.
Host dist-loader/ and load CSS + the loader — it discovers pk-* on the page and lazy-loads only what you use:
<link rel="stylesheet" href="/path/to/dist-loader/plugin-kit.css" />
<script type="module" src="/path/to/dist-loader/plugin-kit.loader.js"></script>
<pk-button variant="primary">Save</pk-button>
Base path is taken from the script URL. Override with data-plugin-kit or setBasePath():
<meta data-plugin-kit="/path/to/dist-loader" />
<div data-pk-preload="pk-dialog pk-select"></div>
See No-Build Step.
plugin-kit.css from the same entry Craft publishes so FOUCE is render-blocking.<pk-*> markup directly; components upgrade in place once the entry runs.Same elements, framework-shaped imports:
| Package | Bootstrap |
|---|---|
@verbb/plugin-kit-react |
createRoot + PluginKitProvider |
@verbb/plugin-kit-vue |
createApp + PluginKitProvider |
| Package | Role |
|---|---|
@verbb/plugin-kit-icons |
Opt-in glyph registry for <pk-icon> |
@verbb/plugin-kit-forms |
Headless SchemaForm engine |
@verbb/plugin-kit-tiptap-core |
Shared TipTap schema / serialization |
@verbb/plugin-kit-codemirror-core |
Shared CodeMirror setup |
@verbb/plugin-kit-core |
Host bridge helpers, shared utils |
npm run dev → http://localhost:5175\
FOUCE lab: /tools/fouceFind threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.