roboin e945d2da92
feat: update type definitions for React (#378)
The `JSX` namespace in React was deprecated in [DefinitelyTyped PR #64464](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/64464) and removed in [DefinitelyTyped PR #69022](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/69022). Instead, `React.JSX` should be used.
2025-02-27 17:35:18 +08:00
2023-10-14 23:01:09 +08:00
2024-04-06 16:05:41 +08:00
2025-01-05 20:56:20 +08:00
2021-12-08 20:47:35 +08:00
2021-12-08 20:47:34 +08:00
2024-07-15 23:58:11 +08:00
2024-07-15 23:58:11 +08:00
2023-10-14 23:01:09 +08:00
2024-03-13 00:13:48 +08:00
2024-07-15 23:58:11 +08:00

mdui logo

mdui

A Material Design 3 (Material You) library of Web Components.
https://www.mdui.org

npm version CSS gzip size JS gzip size downloads license


  • 🧩 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

MIT

Description
mdui的Web框架
https://www.mdui.org
Readme 14 MiB
Languages
TypeScript 89.9%
Less 9.8%
JavaScript 0.3%