# riot/riot

Simple and elegant component-based UI library

Repository: https://github.com/riot/riot
Canonical: https://ross.abutalabs.com/products/riot
Homepage: https://riot.js.org
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: javascript, webcomponents, minimal, framework, client-side, view, customtags, lite, elegant, simple, customelement, customelements
Last push: 2026-08-06T19:39:48+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 84, longevity 100
- inputs: {"age_days": 4723, "days_push": 27, "days_rel": 27, "gap_med": 34, "n_releases_24m": 20}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14914, forks 954 (observed 2026-08-28T04:11:08.928134+00:00)

## What it is
Riot.js is a simple, elegant component-based UI library for building client-side web interfaces with custom tags. It compiles HTML-based component files to pure JavaScript, offering a tiny footprint, fast expression bindings, and lifecycle methods without virtual DOM overhead.

## Use cases
- build a lightweight single-page app without a heavy framework
- create reusable custom HTML components
- add component-based views to an existing server-rendered site
- prototype UIs with HTML-first syntax
- replace React/Vue with a minimal alternative
- build widgets embeddable in any page

## When to choose
- you want a tiny bundle size and simple API
- you prefer HTML-based component syntax over JSX
- you need components that play well alongside other frameworks
- you want minimal boilerplate and no build complexity

## When to avoid
- you need a large ecosystem with extensive tooling and libraries
- you require IE11 or legacy browser support
- you need advanced state management or server-side rendering out of the box
- your team relies on virtual DOM diffing patterns

## Facets
- artifact type: library
- maturity: stable
- function: frontend-framework, ui-components, templating
- domain: web-development, frontend
- platform: browser, cross-platform
- tags: web-components, custom-elements, javascript, minimal, component-based, client-side, nodejs

## Member repositories
- riot/riot (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:08.928134+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-29T17:06:54.169150+00:00, confidence not recorded.
  - readme: https://github.com/riot/riot (fetched 2026-08-28T04:11:08.928134+00:00, sha 9dcc2990399a)
  - homepage: https://riot.js.org (fetched 2026-08-29T08:05:14.417647+00:00, sha 81cac67d0a9d)
  - site_page: https://riot.js.org/documentation (fetched 2026-08-29T08:05:14.423082+00:00, sha 2e5e2d194d10)
  - site_page: https://riot.js.org/faq (fetched 2026-08-29T08:05:14.425693+00:00, sha 77a3882aa9ba)
- Data as of 2026-08-30T08:39:29.467469+00:00.
