Skip to content
appsgit

Layui

Layui is a free, open-source UI component library built with HTML. Layui 是一套开源免费的 Web UI 组件库,采用纯原生态的 HTML CSS JavaScript 开发模式,它为更便捷地构建现代 Web 界面而生。多年来,凭借别具一格的内外风格而被广泛应用。它给非前端开发者极大地降低了构建复杂网页界面的门槛,开发者只需面向浏览器,即可让页面所需呈现的元素与交互,变得信手拈来。. It has 30,581 GitHub stars and is released under the MIT license. A live demo is linked from this page.

github.com/layui/layui (opens in a new tab)

Get started

Copy the files into a new folder with degit (no git history), or clone the repository with git.

Copy with degit
npx degit layui/layui my-ui
cd my-ui
Or clone with git
git clone --depth 1 https://github.com/layui/layui.git my-ui

Sources: GitHub docs on template repositories, degit.

About Layui

Layui 是一套开源免费的 Web UI 组件库,采用纯原生态的 HTML CSS JavaScript 开发模式,它为更便捷地构建现代 Web 界面而生。多年来,凭借别具一格的内外风格而被广泛应用。它给非前端开发者极大地降低了构建复杂网页界面的门槛,开发者只需面向浏览器,即可让页面所需呈现的元素与交互,变得信手拈来。

Built with

  • HTML
GitHub preview card for layui/layui
GitHub social preview of layui/layui. Open the live demo for the real design.

FAQ

Layui FAQ

Still curious? Email info@appsgit.com.

What is Layui?

Layui is a free, open-source UI component library built with HTML. Layui 是一套开源免费的 Web UI 组件库,采用纯原生态的 HTML CSS JavaScript 开发模式,它为更便捷地构建现代 Web 界面而生。多年来,凭借别具一格的内外风格而被广泛应用。它给非前端开发者极大地降低了构建复杂网页界面的门槛,开发者只需面向浏览器,即可让页面所需呈现的元素与交互,变得信手拈来。. It has 30,581 GitHub stars and is released under the MIT license. A live demo is linked from this page.

How do I use Layui?

Copy the files into a new folder with npx degit layui/layui my-ui (no git history), or fork the repository on GitHub. Then follow the README for the install and dev commands.

Can I use Layui for commercial projects?

Yes. Layui is released under the MIT license, a permissive license that allows commercial use as long as you keep the copyright and license notice. Third-party assets bundled with it (images, fonts, icons) may have their own terms.

Is Layui maintained?

The repository's most recent commit was on Sep 1, 2026. Its latest release is v2.13.9. appsgit only lists templates from repositories with a commit in the last six months.