返回排行榜
Material Design 3(Material You) UI components using Web Components.
cssjavascriptmaterialmaterial-designmaterial-design-3material-youweb-components
关键指标
Star 增长趋势
Star
4.5k
Forks
375
周增长
—
Issues
31
2k4k
2023年1月2023年8月2024年3月2024年10月2025年5月2025年12月2026年7月
制品库npm
npm install mduiREADME
mdui
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.
- 🧩 Works with all frameworks
- 🚛 Works with CDNs
- 🏙️ Material 3 design system
- 🌛 Includes dark theme and dynamic color
- 🆚 Optimized for WebStorm and VSCode
- 😸 Open source
Docs
Installation
npm install mdui --save
Usage
Import CSS and JS:
import 'mdui/mdui.css';
import 'mdui';
Use the component:
<mdui-button>Button</mdui-button>
Using CDN
<!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>
License
相关仓库