2.9.9 • Published 5 days ago

layui v2.9.9

Weekly downloads
212
License
MIT
Repository
github
Last release
5 days ago

Layui

中文 · 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:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>Quick Start - Layui</title>
    <link href="./layui/css/layui.css" rel="stylesheet" />
  </head>
  <body>
    <!-- HTML Content -->
    <script src="./layui/layui.js"></script>
    <script>
      // Usage
      layui.use(function () {
        var layer = layui.layer;
        // Welcome
        layer.msg("Hello World", { icon: 6 });
      });
    </script>
  </body>
</html>

Documentation

Current version

Contributors

Project 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. 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 license. Other relevant agreements may also refer to the Disclaimer.

2.9.9

5 days ago

2.9.8

1 month ago

2.9.7

2 months ago

2.9.6

4 months ago

2.9.5

4 months ago

2.9.4

4 months ago

2.9.3

4 months ago

2.9.2

5 months ago

2.9.2-rc.2

5 months ago

2.9.1

5 months ago

2.9.0-rc.1

6 months ago

2.9.0-rc.2

5 months ago

2.9.0-rc.3

5 months ago

2.9.0-beta.1

6 months ago

2.9.0

5 months ago

2.8.18-beta

7 months ago

2.8.18-rc.5

6 months ago

2.8.18-beta.1

7 months ago

2.8.18-rc.1

7 months ago

2.8.18-rc.2

7 months ago

2.8.18-rc.3

6 months ago

2.8.18-rc.4

6 months ago

2.8.18

6 months ago

2.8.17

8 months ago

2.8.16

8 months ago

2.8.12

9 months ago

2.8.11

10 months ago

2.8.10

10 months ago

2.8.15

9 months ago

2.8.14

9 months ago

2.8.13

9 months ago

2.8.3

12 months ago

2.8.5

11 months ago

2.8.4

12 months ago

2.8.7

11 months ago

2.8.6

11 months ago

2.8.9

10 months ago

2.8.8

11 months ago

2.8.1

1 year ago

2.8.0

1 year ago

2.8.2

1 year ago

2.8.0-rc.16

1 year ago

2.8.0-rc.15

1 year ago

2.8.0-rc.9

1 year ago

2.8.0-rc.8

1 year ago

2.8.0-rc.7

1 year ago

2.8.0-rc.6

1 year ago

2.8.0-rc.12

1 year ago

2.8.0-rc.11

1 year ago

2.8.0-rc.10

1 year ago

2.8.0-rc.14

1 year ago

2.8.0-rc.13

1 year ago

2.8.0-rc.1

2 years ago

2.8.0-beta.3

2 years ago

2.8.0-rc.5

1 year ago

2.8.0-rc.4

1 year ago

2.8.0-rc.3

1 year ago

2.8.0-rc.2

1 year ago

2.8.0-beta.2

2 years ago

2.8.0-beta.1

2 years ago

2.7.4

2 years ago

2.7.3

2 years ago

2.7.6

2 years ago

2.7.5

2 years ago

2.6.9

2 years ago

2.7.0

2 years ago

2.7.2

2 years ago

2.7.1

2 years ago

2.6.11

2 years ago

2.6.12

2 years ago

2.6.13

2 years ago

2.6.10

2 years ago

2.6.8

3 years ago

2.6.7

3 years ago

2.6.6

3 years ago

2.6.5

3 years ago

2.6.1

3 years ago

2.6.0

3 years ago

2.6.3

3 years ago

2.6.2

3 years ago

2.6.4

3 years ago

0.0.1

8 years ago