# slimjs/slim.js

Fast & Robust Front-End Micro-framework based on modern standards

Repository: https://github.com/slimjs/slim.js
Canonical: https://ross.abutalabs.com/products/slimjs
Homepage: http://slimjs.com
Language: CSS
License: MIT
License Family: permissive
Topics: webcomponents, data-binding, es6, dom, lifecycle, javascript, library, slimjs, front-end, front-end-development, framework, angular, react, aurelia, html5, html-element, vuejs, native
Last push: 2023-09-06T15:36:01+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3627, "days_push": 1092, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1036, forks 61 (observed 2026-08-28T04:03:19.199560+00:00)

## What it is
Slim.js is an ultra-lightweight (~3KB gzipped) front-end micro-framework for building native Web Components with declarative templates and reactive data binding. It uses standard browser APIs like CustomElementsRegistry and HTMLElement inheritance with no compilers or external dependencies.

## Use cases
- build web components with declarative templates
- create custom HTML elements with data binding
- add reactive UI components to an existing app without a full framework
- write framework-agnostic components usable alongside React, Vue, or Angular
- build lightweight UIs without a build step or compiler
- create reusable render-only components with minimal JavaScript

## When to choose
- you want native Web Components with tiny footprint and no build tooling
- you need components interoperable with any other framework
- you prefer direct DOM manipulation without a virtual DOM layer
- you want opt-in directives and shadow DOM control

## When to avoid
- you need a large ecosystem with routing, state stores, and devtools out of the box
- you want a large community and frequent updates - the project has low recent activity
- you need server-side rendering or SSR support
- your team prefers mainstream frameworks with extensive hiring pools

## Facets
- artifact type: library
- maturity: maintenance
- function: frontend-framework, ui-components, state-management, templating
- domain: web-development, frontend
- platform: browser
- tags: web-components, data-binding, micro-framework, custom-elements, shadow-dom, es6, no-build-tools, lightweight, javascript, web

## Member repositories
- slimjs/slim.js (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:19.199560+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:04:43.215405+00:00, confidence not recorded.
  - readme: https://github.com/slimjs/slim.js (fetched 2026-08-28T04:03:19.199560+00:00, sha 8a6680a0c8b4)
  - homepage: http://slimjs.com (fetched 2026-08-29T13:05:30.950452+00:00, sha a4554f8b4428)
- Data as of 2026-08-30T08:39:29.467469+00:00.
