Scan your whole stack
From OX Research Newsroom
Are you using @kimen/elements?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.5.0
@kimen/elements was last scanned on 27 Nov 2026 at version 0.5.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.5.0 LATEST | 27 Nov 2026 | No rules fired |
| 0.4.0 | 26 Nov 2026 | No rules fired |
| 0.3.0 | 25 Nov 2026 | No rules fired |
| 0.2.1 | 25 Nov 2026 | Not shown |
| 0.2.0 | 24 Nov 2026 | Not shown |
Findings for v0.5.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 0.5.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Kimen web components (ki-*): standards-first Stencil
components with tokens-only styling and machine-readable contracts (Custom
Elements Manifest + llms.txt). Part of
Kimen, an AI-first Web Components
foundation for generative UI.
Status: pre-v1, published on npm. Before 1.0.0 a minor release may break the public API. The instructions below are validated in CI against the packed tarballs of every release run, dry runs included.
Upgrading to 0.3.0: the package no longer ships dist/cjs, the Stencil
collection or the dist/kimen browser build, and drops the collection,
collection:main and unpkg fields. No export changed. If you loaded Kimen
from https://unpkg.com/@kimen/elements without a path, see the
migration guide.
pnpm add @kimen/elements @kimen/tokens
# or: npm install @kimen/elements @kimen/tokens
@kimen/tokens provides the --ki-* custom properties every component
consumes; without its stylesheets the components render unstyled. A page
loads its core, @kimen/tokens/css/core, and one sheet for every ki-* tag
it uses, named like the element import (@kimen/tokens/css/ki-button beside
@kimen/elements/ki-button). Its @kimen/tokens/css/base export is the
page contract, which pages load too: it paints the page itself from the
tokens and lays out group items until their tags register (see
Theming).
Preferred: import each component from its direct subpath. This registers only what you use and lets bundlers tree-shake the rest:
import { defineCustomElement as defineKiButton } from '@kimen/elements/ki-button';
import '@kimen/tokens/css/core';
import '@kimen/tokens/css/ki-button';
import '@kimen/tokens/css/base';
defineKiButton();
Each @kimen/elements/ki-* subpath is a single-export module: importing it
has no side effects and nothing registers until you call
defineCustomElement().
The lazy loader downloads and defines each ki-* tag when it first appears.
Use it when the page renders tags it cannot list in advance:
import { defineCustomElements } from '@kimen/elements/loader';
import '@kimen/tokens/css'; // every token: the page does not list its tags
import '@kimen/tokens/css/base';
defineCustomElements();
Append the element before awaiting customElements.whenDefined(tag). To load
elements inside a shadow root your application owns, call observeRoot(root)
from the loader. It also accepts an element and keeps watching the supplied root.
Imports from the package root (import { KiButton } from '@kimen/elements')
are a deprecated compatibility facade; see the
root-imports migration guide.
With any bundler that resolves package exports and CSS imports (Vite shown):
<!-- index.html -->
<ki-button variant="primary">Save</ki-button>
<script type="module" src="/main.ts"></script>
// main.ts
import { defineCustomElement as defineKiButton } from '@kimen/elements/ki-button';
import '@kimen/tokens/css/core';
import '@kimen/tokens/css/ki-button';
import '@kimen/tokens/css/base';
defineKiButton();
document.querySelector('ki-button')?.addEventListener('click', () => {
console.log('saved');
});
import '@kimen/tokens/css/core'; // onmars default theme + color-scheme, light/dark from the system
import '@kimen/tokens/css/ki-button'; // the component tokens of each ki-* tag the page uses
import '@kimen/tokens/css/base'; // page contract: page background, text color, body font, layout before registration
import '@kimen/tokens/css/material3'; // optional: Material 3 reference theme
<html data-ki-theme="material3" data-ki-color-scheme="dark">
The core and the tag sheets are the only requirement. The core declares the
shared tokens and the color-scheme they resolve from, so the browser's
canvas and native controls follow the same scheme as the components and a
page that loads nothing else stays legible in light and in dark. The
declaration is a zero-specificity default: a color-scheme your own CSS
sets on the page wins. Each tag's sheet adds the component tokens that tag
needs, including those of the components it renders; add one for every tag
your own markup writes, slotted ones included.
Load @kimen/tokens/css/base, the page contract, with them: it paints the
page background, text color and body font from the semantic tokens, declares
no color scheme, and lays out the items of Kimen groups one per line until
their tags register, so their labels do not run together.
The simple alternative is @kimen/tokens/css in place of the core and the
tag sheets: every token in one stylesheet (20.7 KB brotli, against 8.1 KB
for a page with one ki-button). Use it when a page uses most of the
catalog, or renders tags it cannot list in advance, as with the lazy loader
above.
Every visual value is a --ki-* custom property; themes reassign tokens, not
component CSS. Details in the
@kimen/tokens README.
The components are client-side custom elements. Importing a ki-* subpath is
side-effect-free and safe in server code, but defineCustomElement() and the
loader touch customElements, so call them only in code that runs in the
browser (a client entry point, a framework onMounted/useEffect hook, or a
plain <script type="module">). Static and server-rendered HTML containing
ki-* tags is fine: the tags upgrade when the definitions load.
Custom elements work natively in React 19+, Vue 3 and Angular: set properties
and attributes as usual and listen to the ki-* CustomEvents
(ki-change, ki-close, ki-dismiss) with each framework's event syntax.
Form controls participate in native forms via ElementInternals. The
generated wrappers @kimen/react,
@kimen/vue and
@kimen/angular add typed
props and each framework's form idiom on top; the plain tags keep working
without them. Details and per-framework notes live in the
framework documentation.
llms.txt (shipped inside this package) is a short index:
how to install and load the library, when to use each component, and a
relative link per component to a Markdown document under llms/ with its
attributes, slots, parts, events, methods, CSS custom properties, examples
and when-to-use / when-not-to-use guidance; read only the documents a task
needs. generated/custom-elements.json is the machine-readable Custom
Elements Manifest, and kimen.dev/llms-full.txt
has every document in one file. All of them are generated from component JSDoc;
never edit them by hand. The llms.txt code examples are executed against
the packed packages during release validation, so they are guaranteed to
run.
Read the guides and per-component pages on the documentation site, or browse every component with live theme switching in the public Storybook.
Find 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.