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.
Get started
Copy the files into a new folder with degit (no git history), or clone the repository with git.
npx degit layui/layui my-ui
cd my-uigit clone --depth 1 https://github.com/layui/layui.git my-uiSources: GitHub docs on template repositories, degit.
About Layui
Layui 是一套开源免费的 Web UI 组件库,采用纯原生态的 HTML CSS JavaScript 开发模式,它为更便捷地构建现代 Web 界面而生。多年来,凭借别具一格的内外风格而被广泛应用。它给非前端开发者极大地降低了构建复杂网页界面的门槛,开发者只需面向浏览器,即可让页面所需呈现的元素与交互,变得信手拈来。
Built with
- HTML
Similar templates
More UI components & kits
shadcn/ui
shadcn-ui/ui
Composable, accessible components with thoughtful defaults.
OfficialUI components & kitsTypeScriptAnt Design
ant-design/ant-design
An enterprise-class UI design language and React UI library.
OfficialUI components & kitsTypeScriptMaterial UI
mui/material-ui
Material UI: Comprehensive React component library that implements Google's Material Design.
OfficialUI components & kitsJavaScriptdaisyUI
saadeghi/daisyui
The most popular, free and open-source Tailwind CSS component library.
OfficialUI components & kitsJavaScriptChakra UI
chakra-ui/chakra-ui
Chakra UI is a component system for building SaaS products with speed.
OfficialUI components & kitsTypeScriptHeroUI
heroui-inc/heroui
Beautiful, fast and modern React UI library.
OfficialUI components & kitsTypeScript
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.