Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/layui/layui
一套遵循原生态开发模式的 Web UI 组件库,采用自身轻量级模块化规范,易上手,可以更简单快速地构建网页界面。
https://github.com/layui/layui
css html javascript js layui ui
Last synced: 11 days ago
JSON representation
一套遵循原生态开发模式的 Web UI 组件库,采用自身轻量级模块化规范,易上手,可以更简单快速地构建网页界面。
- Host: GitHub
- URL: https://github.com/layui/layui
- Owner: layui
- License: mit
- Created: 2015-09-22T08:12:03.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T15:47:17.000Z (7 months ago)
- Last Synced: 2024-04-23T23:22:10.356Z (7 months ago)
- Topics: css, html, javascript, js, layui, ui
- Language: JavaScript
- Homepage: https://layui.dev
- Size: 12.2 MB
- Stars: 28,818
- Watchers: 960
- Forks: 7,284
- Open Issues: 39
-
Metadata Files:
- Readme: README.en-US.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-github-star - layui
- StarryDivineSky - layui/layui
README
# Layui
[中文](./README.md) · English
Classic modular front-end UI library
> Layui constitutes an open-source, freely available Web UI component library implementing its distinct lightweight modular specification. It adheres rigorously to the vanilla `HTML/CSS/JavaScript` development paradigm, thereby affording unparalleled ease of adoption and immediate usability. Characterized by a minimalist, lightweight aesthetic, the framework's core exudes elegance and richness, with each and every detail, inclusive of documentation, meticulously curated to facilitate swift assembly of web interfaces. Distinguishing itself from prevailing mainstream front-end frameworks, Layui does not contravene established principles but rather espouses a philosophy of reverting to fundamental simplicity. Specifically, it caters to pragmatic individuals with a penchant for simplicity, obviating the need for engagement with diverse build tools. it empowers users to intuitively harness and orchestrate the requisite page elements and interactive behaviors directly within the browser environment.
## Usage
To use Layui, simply include the core files in your page, such as:
```html
Quick Start - Layui
// Usage
layui.use(function () {
var layer = layui.layer;
// Welcome
layer.msg("Hello World", { icon: 6 });
});
```
## Documentation
[**Current version**](https://layui.dev/docs/2/)
## Contributors
[Project contributors](https://github.com/layui/layui/graphs/contributors)
## Break with the old and establish the new 🌱
On October 14, 2016, Layui released its first version `1.0.0`, after which it was widely adopted across web platforms.
On October 13, 2021, Layui announced the decommissioning of its original official website (details) and migrated its documentation site to Gitee Pages. Concurrently, community management and daily maintenance activities were fully transitioned to both Gitee and Github platforms, encouraging users to embrace other superior mainstream frameworks. This move inadvertently led some to believe that Layui had ceased updates. In reality, since then, Layui has remained active on Github and Gitee, never halting updates, progressing from version `2.6.8` at the time to its current latest release.
On April 24, 2023, Layui released version `2.8.0` officially and launched a [new documentation site](https://layui.dev). This marked a sincere comeback and a continuation of its commitment to open-source ideals. We still uphold the perspective expressed in the announcement two years ago, advocating that developers embrace mainstream technologies and nurture an unwavering passion for cutting-edge advancements. **What Layui does is to fill those narrow gaps outside the mainstream**. Although not a mainstream frontend framework, Layui has long transcended being a personal creation of its author, becoming a collective work of all who persist in using it. It continues to underpin numerous projects and represents the efforts of many individuals. As open-source creators, we should walk alongside these dedicated Layui developers.
In the future, Layui will steadfastly accompany all those who hold it dear, jointly substantiating the feasibility of the Layui development model.
## License
Layui is released under the [MIT](https://opensource.org/licenses/MIT) license. Other relevant agreements may also refer to the [Disclaimer](https://gitee.com/layui/layui/blob/main/DISCLAIMER.md).