Like the old days,
but Modern APIs.

Step back into the golden era of web components, simple concepts, and less build steps. With modern Web API's and a few primitives, we can make programming for the web great again.

Explore the concepts
★ Modern Apps in 7kb ★

The Retro Experience

Lithium uses standard Web API's and sticks mostly to HTML, instead of inventing a new language on top of it. Just follow a few basic rules of markup:

By using [inline components and a declarative API](/docs), an entire app could fit into one file.

<template component="hello-world"> <script setup> import { defineProp, defineEvent, ref, computed, watch, effect } from '@li3/web'; export default function () { const input = defineProp('input'); const onOutput = defineEvent('output'); const localValue = ref(1); const computedValue = computed(() => localValue * 2); // exposed properties and methods return { computedValue, onOutput }; } </script> </template>