Nucleus Stack
Open-source toolkit of drop-in custom elements, Quark, Valence.css and Neutron for building HTML apps without a build step.
At a Glance
The Nucleus Stack (Quark, Neutron, NucleusKit elements, Valence.css) is MIT licensed and stated to remain free and open source.
Engagement
Available On
Alternatives
Listed Dec 2026
About Nucleus Stack
Nucleus Stack is an MIT-licensed toolset from excom for building rich HTML apps with drop-in custom elements and a CSS-like orchestration language called Quark. The project says it needs no components, no virtual DOM and no build process, and it is currently in beta. It includes NucleusKit elements, Quark, Valence.css and Neutron, and every piece can be used on its own.
What It Is
Nucleus implements what its authors call the ASO architectural pattern: the live HTML document is the application state. Each custom element has a single responsibility, and Quark rules select elements, bind data, stamp lists, wire events and drive state transitions. The docs demo is a RESTful Todo app in under 50 lines with zero app JavaScript.
The Stack Pieces
- NucleusKit elements: drop-in elements such as drawers, tabs, data tables, lazy views, forms, routing, passkeys (web-authn) and data fetching (provider-fetch).
- Quark: CSS-derived syntax for document mutation, with @on, @command, @delay and @use at-rules.
- Valence.css: optional semantic, classless CSS with themes, light/dark schemes and design tokens.
- Neutron: optional small JS factory for authoring your own elements when the catalog lacks what you need.
Example: include-content
The include-content element renders a view when and where needed. It supports lazy load and unload, idle or eager prefetch, shared or remote templates, portalling into shadow DOM, an iframe or any selector, and persistent state across toggles. It can be installed from npm or loaded from a CDN.
Setup Path
The whole stack installs with one npm package, nucleus-kit, or via unpkg without a package manager. Individual packages can be installed à la carte under the @excom scope. Tools include nucleus-devtools and a Quark syntax highlighter, plus libraries for DOM, SSR, testing and a Vite plugin. The docs also provide llms.txt and per-page markdown for AI agents.
Current Status
The site states the stack is in beta for a few weeks until features are stabilized and optimized.
Collections
Popular collections
- Codebase Context Generators
Collection by @joemseifi
- Frameworks
Collection by @joemseifi
- Let Your Agents Talk to Each Other
Collection by @leftchannel
- See What Your Agent Is Doing remix
Collection by @joemseifi
Add Nucleus Stack to one of your collections.
Community Discussions
Be the first to start a conversation about Nucleus Stack
Share your experience with Nucleus Stack, ask questions, or help others learn from your insights.
Pricing
Open Source (MIT)
The Nucleus Stack (Quark, Neutron, NucleusKit elements, Valence.css) is MIT licensed and stated to remain free and open source.
- MIT License
- Quark, Neutron, NucleusKit elements and Valence.css
- Install via npm (@excom/nucleus-kit) or load from unpkg CDN
- No build process required
- Currently in beta
Capabilities
Key Features
- Drop-in custom elements (drawers, tabs, tables, forms, routing, passkeys, data fetching)
- Quark CSS-like reactive orchestration language
- Valence.css semantic classless styling with themes and dark/light schemes
- Neutron JS factory for authoring custom elements
- include-content lazy load/unload, portalling and template includes
- No build step and little to no app JavaScript
- Nucleus DevTools and Quark syntax highlighter
- Server-side rendering and prerendering support
- llms.txt and per-page markdown docs for agents
