Skip to content

Min9802/layui

Repository files navigation

Layui

Layui

Classic modular front-end UI library

Version License CSS Brotli size JS Brotli size


Layui is a collection of free and open source Web user interface component libraries. It uses its own lightweight module specifications and follows the original HTML/CSS/JavaScript development model. It is easy to get started and can be used immediately. Its style is simple and understated but the interior elegance is rich, every detail, including the documentation, is carefully crafted, making it perfect for quickly building web interfaces. Layui is different from popular front-end frameworks, but it does not go against the trend and believes in going back to nature. To be more precise, it is aimed at pragmatic people who pursue simplicity, that is, there is no need to use many different construction tools, just face the browser itself and you can get the elements. elements and interactions that the page needs to present

Get started quickly

To use Layui, just add files to the page:

<!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>

Documents

Documents current version

Join the project

project participants

Open source license

Layui use MIT Published with permission. Other relevant agreements may also be consulted《Disclaimer》。

About

Layui remake with replace language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published