Loading repository data…
Loading repository data…
TarekRaafat / repository
Best DX + AX for Building the Best UX. An ultra-lightweight (~2.5KB) pure vanilla JavaScript framework with signal-based reactivity and built-in AI agent support.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Version:
1.2.0| Size: ~6KB min (~2.5KB gzip) | Dependencies: Zero | TypeScript: YesAlso known as: elevajs, eleva
Best DX + AX for Building the Best UX — Pure JavaScript, AI-Ready, Simply Elegant.
A minimalist, lightweight, pure vanilla JavaScript frontend runtime framework. Designed for the best Developer Experience (DX) and Agent Experience (AX) to help you build exceptional User Experiences (UX). Built with love for native JavaScript and a minimal core that can be extended through a powerful plugin system — including built-in AI agent support. Because sometimes, less really is more! 😊
Stable Release: This is
v1.2.0- The latest stable release of Eleva.js!
Welcome to Eleva! This is my humble, experimental playground for a fresh approach to frontend development. Eleva was born out of my genuine passion for pure vanilla JavaScript-no frameworks, no bloat, just the power of native code. I hope you'll have fun exploring, testing, and contributing to make Eleva even better. 🚀
Eleva is a minimalist, lightweight (~2.5KB gzipped), pure vanilla JavaScript frontend framework crafted for exceptional Developer Experience (DX) and Agent Experience (AX). When developers enjoy building, users enjoy using — Eleva makes it effortless to create beautiful, responsive, and performant User Interfaces (UI) without the complexity, bundle size, or build tool requirements of traditional frameworks.
Unlike React, Vue, or Angular, Eleva:
Eleva is ideal for developers building performance-critical applications, AI-agent-powered interfaces, data-intensive dashboards (10K+ rows), micro-frontends, or anyone seeking a simpler, AI-ready alternative to React, Vue, or Angular.
import Eleva from "eleva";
const app = new Eleva("MyApp");
app.component("Counter", {
setup: ({ signal }) => ({ count: signal(0) }),
template: (ctx) => `<button @click="() => count.value++">${ctx.count.value}</button>`
});
app.mount(document.getElementById("app"), "Counter");
| Method | Purpose |
|---|---|
new Eleva(name) | Create app |
app.component(name, def) | Register component |
app.mount(el, name) | Mount to DOM |
app.use(plugin) | Add plugin |
signal(value) | Reactive state |
emitter.on/emit | Events |
Quick Rule:
${}needsctx.—@eventsand:propsdon't.
| Syntax | Use | ctx.? |
|---|---|---|
${expr} | JS value interpolation | ✓ |
@click | Event handler | ✗ |
:prop | Pass to child | ✗ |
How it works: Use
${ctx.value}to interpolate values into your template. For@eventsand:props, expressions are evaluated against the component context directly — noctx.prefix needed. This allows cleaner syntax like:user="userData"instead of:user="${ctx.userData}".
Eleva is a lightweight, no-nonsense runtime framework for frontend applications. Built with love for pure vanilla JavaScript, Eleva features a minimal core with essential functionality that can be extended through a powerful plugin system. This approach lets you create highly modular and scalable applications without the overhead of large frameworks. I built Eleva to prove that you don't need heavy frameworks or libraries to build amazing user interfaces-sometimes, the simplest approach is the most powerful.
My Inspiration:
The idea behind Eleva comes from a deep appreciation for native JavaScript. I wanted to create a tool that stays true to the language without introducing new syntax or complexity, making it easy to integrate into your projects.
Core Principles:
Eleva is an unopinionated framework with a minimal core philosophy.
Unlike monolithic frameworks that include everything out-of-the-box, Eleva intentionally provides only essential features in its core, relying on a powerful plugin system for extensibility. This architectural choice means:
💡 Vanilla JavaScript. Elevated.
Eleva takes plain vanilla JavaScript to the next level. Signals for reactivity. Components for structure. Your JS knowledge stays front and center, not hidden behind abstractions. If it works in vanilla JS, it works in Eleva.
Eleva is built on a simple principle: great DX + AX leads to great UX. When developers have intuitive tools — and agents have a first-class integration surface — they build better interfaces. Every aspect of Eleva's design prioritizes your productivity and enjoyment.
Why Eleva's DX Stands Out:
| DX Feature | How It Helps You Build Better UX |
|---|---|
| Zero Config | Start building immediately — no webpack, no bundlers, no setup |
| Intuitive API | Learn in minutes, master in hours — more time for polishing UI |
| Pure JavaScript | No JSX, no compilation — what you write is what runs |
| Instant Feedback | Signal-based reactivity shows changes immediately |
| TypeScript Built-in | Full autocomplete and type safety out of the box |
| Tiny Bundle | ~2.5KB gzipped means instant page loads for your users |
| Agent-Ready (AX) | Built-in Agent plugin for AI/LLM integration with action registry, audit logging, and permissions |
"The best UX comes from developers who love their tools — and agents that speak their framework's language." — Eleva's DX + AX philosophy