A production-ready messaging bus for coordinating web components, micro-frontends, and framework integrations.
Zero dependencies. Framework agnostic. 5KB core. 60+ components ready to use.
I wanted the joy of dropping a <script> tag into an HTML file and instantly seeing something come alive. No ceremony. No yak shaving. Just a browser, a file, and an idea.— Christopher Robison, Learning LARC Foreword
Use alongside React, Vue, Angular, or vanilla JS. PAN messaging enables seamless coordination without tight coupling. Reduce your framework footprint by 60%+.
PAN messaging protocol enables web components to communicate effectively without prop drilling or tight coupling. Build truly reusable component libraries.
Mix React, Vue, and LARC components on the same page. They all speak PAN. One design system, every framework.
5KB core vs 500KB+ for React+MUI. Load components on-demand. Only pay for what you use.
Drop a script tag and start building. Works from file://, no webpack, no bundlers, no configuration.
60+ production-ready components: data tables, forms, charts, modals, authentication flows. Enterprise-grade UI elements that work anywhere.
JWT authentication with auto-header injection. Developers never write Authorization headers. Auto-refresh tokens.
Built-in Inspector component lets you watch message flow, filter topics, and debug in real-time.
React, Angular, Vue — they solved problems that absolutely needed solving at the time. But the web has evolved since then. Many of those features now exist natively — standardized, built-in, fast, and universally available. LARC builds on what the platform provides.
Modern frameworks solved 2010's problems. Custom Elements, ES Modules, Shadow DOM, async/await, CSS Grid — the browser now handles what used to require heavy abstraction layers.
Web Components give you 80% of what you need. LARC provides the missing 20% — the coordination layer. Just as a car's sensors and motors communicate over a CAN bus without knowing each other's internals, LARC components coordinate through PAN.
The friction of modern toolchains — webpack configs, Babel presets, dependency hell — shouldn't be mandatory for every project. Drop a script tag, refresh your browser, see your change. That's how the web was designed to work.
Drop a script tag and start building. No build tools required.
<!doctype html>
<!-- Drop one script tag, then use any component. That's it! -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@larcjs/core@2.0.0/pan.mjs"></script>
<!-- Components load automatically (including pan-bus!) -->
<x-counter></x-counter>
<pan-inspector></pan-inspector>
✨ All components load automatically when they appear in the DOM.
The <pan-bus> is automatically created for you.
No imports, no customElements.define(), no bundler.
Replace Material-UI/Ant Design with LARC components. Save 400-500KB instantly.
Build once, use in React apps, Vue apps, Angular apps. One codebase, every framework.
Different teams, different frameworks, coordinating via PAN without tight coupling.
Incrementally upgrade jQuery/Backbone apps. Drop in LARC components, no rewrite needed.
Layer interactive features onto existing pages without heavy frameworks.
Build and iterate quickly without build tooling or configuration overhead.
This isn't theoretical. React, Vue, and vanilla JS components all coordinate through the same PAN bus on the same page. No wrapper libraries. No adapters. They just work together.
Different teams can use different frameworks while sharing the same design system and coordinating through standardized messages. One codebase. Every framework.
See Hybrid Demo// React component subscribes to PAN
useEffect(() => {
pan.subscribe('cart.updated', (items) => {
setCartItems(items);
});
}, []);
// Vue component publishes to PAN
const addToCart = (item) => {
pan.publish('cart.add', item);
};
// Vanilla component listens
pan.on('cart.*', (msg) => {
this.updateBadge(msg.data.length);
});
Two comprehensive books cover everything from philosophy to production deployment. Written in the O'Reilly tradition with working code examples throughout.
Start here if you're new to LARC. A progressive tutorial that builds from "Hello World" to production applications. Learn the philosophy, understand the architecture, and master the patterns through hands-on examples.
The comprehensive reference manual. Task-oriented chapters on routing, authentication, real-time features, testing, and deployment. Complete API documentation for all 60+ components. The book you keep on your desk.
Explore 20+ progressive examples and 6 production-ready demo applications