Gluon browser package · 1.10.0
@gluonjs/core
A native-first UI system built on Custom Elements, HTML template literals, and adopted stylesheets.
Install and start
Install the public package at the same version as the rest of the Gluon train:
npm install @gluonjs/coreimport { createApp, html } from '@gluonjs/core';
createApp(() => html`<main>Hello Gluon</main>`).mount(document.body);Purpose
Browser runtime and component ownership boundary for Gluon applications.
Use cases
- Functional components and stateful custom elements.
- Application mounting, rendering, and event ownership.
- Style transport and public component helpers.
Public entry points
Only these package exports are part of the supported public boundary.
Dependencies and peers
Installed dependencies
- @gluonjs/reactivity · runtime dependency
Peer dependencies
- @gluonjs/reactivity@1.10.0
API reference
Open an entry point above for generated symbol documentation and a reviewed example for every public symbol. Application code must import from this package entry point, never from repository source paths.
Scope and limits
- Does not bundle application features such as routing or storage.
- Applications should import only public entry points, not repository source paths.
Related guides
Verified integration notes
- Exports `.` plus `./decorators` and `./styles`.
- Owns the browser-only runtime boundary consumed by multiple packages.