AngeLite
A signals framework with Angular-style templates: small, fast and secure.
Signals · Angular-style templates · no Zone.js
AngeLite gives you what people miss most from Angular —@if, @for, @defer, components with inputs and outputs, dependency injection, a router— in a core of about 6 KB that updates only what changes. And it does not fall short: forms, HTTP, i18n, SSR and a library of 33 accessible components exist as optional modules, and you only pay for the ones you import.
A complete componentlive
View the code
const { signal, component, mount } = AngeLite;
class Counter {
count = signal(0);
inc() { this.count.update(n => n + 1); }
}
component(Counter, {
template: `
<button (click)="inc()">Clicks: {{ count() }}</button>
@if (count() > 2) {<b class="big"> That's {{ count() }} already!</b>}`
});
mount(Counter, root);Why AngeLite#
Truly smallAn app with precompiled templates weighs as much as the lightest framework. What you do not use is not downloaded: every module is optional and components can be imported one by one.
Fast without tricksFine-grained signals, delegated events and lists with minimal reordering. A performance budget in CI keeps a new feature from spoiling it.
Secure by defaultText is escaped, URLs are sanitized,
[innerHTML] requires trustHtml() and expressions never see window. No eval: it works with a strict CSP and Trusted Types.Familiar syntaxIf you have written modern Angular, you already know how to write it:
@if, @for, [prop], (event), [(ngModel)], pipes, inputs and outputs.Optional batteriesRouter with guards and lazy loading, reactive forms, HTTP client, i18n, animations, SSR, DevTools, TypeScript types and testing utilities.
Measured honestlyThe benchmark compares against Preact, Vue, React and Angular with the same app, and the comparison also says what we are missing.
Where to go next#
Quick startInstall, write your first component and choose how to ship it.
Signals and templatesThe reactive model and the template syntax.
Component library33 accessible components, with controls to try them and accessibility notes.
API referenceGenerated from the types: every signature is the real one.
BenchmarkSize, startup, memory and speed against four other frameworks.
Comparison38 features and where each framework offers them.