Open navigation

API Reference

The v0.44.0-beta.1 current line documents only the five consumer packages. Retired alpha packages and internal subpaths are not authoring surfaces.

01 / interface rule

Authoring starts at product packages.

Current documentation, starters and dogfood use the five supported interfaces. Loader, action and form semantics are frozen at 0.42.0 (ADR-0122); framework session, active cache and streaming are outside the current contract and have no assigned version.

02 / supported surface

Five products, one application path.

Each package owns a distinct consumer decision; absorbed implementation packages remain private.

element@openelement/element

The supported Custom Element authoring surface for JSX, DSD, hydration, signals and styles.

Start here for standalone element authoring.Author compiled elements as `@element`-decorated `OpenElement` classes with `@property` state; `StyleSheet` and signal helpers come from the same root.@experimental additions: the `element`/`property` decorator intrinsics (#1209) and the dangerous-key guards `isDangerousKey`, `injectPropsSafe`, `DANGEROUS_KEYS` (#1214).
rootjsx-runtimejsx-dev-runtimebuild-utilssanitize
CORE
app@openelement/app

The application surface for pages, routes, islands and request/render semantics.

Use `definePage`, `defineIslandConfig` and `defineApp` for application authoring.The router and request-driver implementation are internal product knowledge.
rootmodelspai18n※preact
CORE
adapter-vite@openelement/adapter-vite

The official Vite, content, static-build and Nitro output adapter.

Use `buildApp()` or the generated build task.Plugin ordering, manifests and content scans are adapter implementation details.
rootnitro-mountcli/buildcli/startsitemap
BUILD
createnpm:@openelement/create

The installed starter and zero-context consumer entrypoint.

Generated projects expose `dev`, `check`, `test`, `build`, `start` and `preview`.The starter imports product packages only.
rootCLI only
BUILD
ui@openelement/ui

Optional primitives retained only when they have demonstrated reusable behavior.

UI is not required to use OpenElement.Website-specific brand, hero, lab and layout artifacts are not UI package contracts.
rootretained primitive subpaths
OPTIONAL

※ Internal subpaths (app/i18n, adapter-vite build pipeline, element hydration modules) stay importable for tooling but carry no compatibility promise. The public type surface is explicit — no export-star seams on the v0.44.0-beta.1 line.

Machine-checked against each package's exports map by deno task package-surface:check.