Material Design 3(Material You) 使用 Web 组件的 UI 组件。
A Material Design 3 (Material You) library of Web Components.
https://www.mdui.org
I am developing mdui v3 based on the M3 Expressive specification. You can follow the mdui v3 development progress here. During this period, mdui v2 will continue to be updated for bug fixes and new features.
npm install mdui --saveImport CSS and JS:
import 'mdui/mdui.css';
import 'mdui';Use the component:
<mdui-button>Button</mdui-button><!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="https://unpkg.com/mdui@2/mdui.css" />
<script src="https://unpkg.com/mdui@2/mdui.global.js"></script>
</head>
<body>
<mdui-button>Hello, world!</mdui-button>
</body>
</html>暂无开放 Issues,或尚未同步最近议题。