Layui
一套遵循浏览器原生态开发模式的 Web UI 组件库。 observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 97
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 15
- age_days: 3998
- days_rel: 22
- days_push: 17
- n_releases_24m: 34
Adoption not part of the score
30575 stars · 7362 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Layui is an open-source, MIT-licensed Web UI component library built with vanilla HTML, CSS, and JavaScript, offering a lightweight modular system of components like tables, forms, popups, and date pickers. It targets developers who want to build web interfaces without build tools or mainstream frameworks, working directly against the browser.
Use cases
- build admin dashboard interfaces without a build toolchain
- add modals, popups, and dialogs to plain HTML pages
- render data tables with pagination and tree tables
- create forms with selects, checkboxes, and upload widgets
- add date and time pickers to server-rendered pages
- quickly prototype web UIs with CDN-included components
When to choose
- you want a UI library that works with plain HTML/CSS/JS and no bundler
- you're maintaining or building classic server-rendered web apps
- you need a lightweight, batteries-included component set out of the box
- you prefer minimal tooling and browser-native development
When to avoid
- you're building a modern SPA with React, Vue, or Angular
- you need TypeScript-first tooling or a large npm ecosystem
- your team prefers component frameworks with virtual DOM and state management
- you need cutting-edge frontend patterns the project itself recommends mainstream frameworks for
Facets
library · maturity active
ui-components css-framework frontend-framework form-handling templating file-upload web-development frontend web-design developer-tools browser cross-platform component-library ui-kit no-build-tools vanilla-javascript modular chinese-community admin-interfaces web-server nodejs
5 sources
- readme: https://github.com/layui/layui · fetched 2026-08-28 · 9f470ed5ecac
- homepage: https://layui.dev · fetched 2026-08-29 · 4ac6e6d8bb1b
- site_page: https://layui.dev/docs/2 · fetched 2026-08-29 · d55be19c4a26
- site_page: https://layui.dev/docs/2/versions.html · fetched 2026-08-29 · 4696d8524c5e
- registry_npm: https://registry.npmjs.org/layui · fetched 2026-08-29 · 687088c4dcb9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| layui/layui | main | 98 |
| layui/layer | plugin | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem