v2.0

Getting started with LadrillosJS

A lightweight, zero-dependency web component framework. Build reactive UIs with plain .html files — no JSX, no virtual DOM, no compiler required. You'll have your first component running in about five minutes.

1. Install

Pick the path that fits your project. Both paths work the same way.

2. Your first component

All it takes is one .html file — a bit of markup, a short <script>, and optional <style>. By the end of this section you'll have a working counter on the page.

1

Create the component

Save this as counter.html:

2

Register it

Now connect your tag to its file so the browser knows what to render when it sees it.

3

Use it anywhere

Drop the tag into your HTML — it's a real custom element.

Live result
That's it. No build step required, no boilerplate, no setState. Just declare a let variable and the DOM updates when you change it.