MCPcopy Index your code
hub / github.com/zdhxiong/mdui

github.com/zdhxiong/mdui @v2.1.4 sqlite

repository ↗ · DeepWiki ↗ · release v2.1.4 ↗
1,261 symbols 3,466 edges 367 files 210 documented · 17% 1 cross-repo links
README

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

Extension points exported contracts — how you extend this code

FormControl (Interface)
(no doc) [8 implementers]
packages/jq/src/shared/form.ts
Options (Interface)
(no doc)
packages/shared/src/controllers/defined.ts
RangeSliderEventMap (Interface)
(no doc)
packages/mdui/src/components/range-slider/index.ts
userConfigOptions (Interface)
(no doc)
scripts/common/cem/types.ts
Coordinates (Interface)
* 坐标值
packages/jq/src/methods/offset.ts
FormControllerOptions (Interface)
(no doc)
packages/shared/src/controllers/form.ts
HTMLElementTagNameMap (Interface)
(no doc)
packages/mdui/src/components/range-slider/index.ts
JQStatic (Interface)
(no doc)
packages/jq/src/static/each.ts

Core symbols most depended-on inside this repo

get
called by 158
packages/jq/src/methods/get.ts
trigger
called by 139
packages/jq/src/methods/trigger.ts
data
called by 116
packages/jq/src/methods/data.ts
css
called by 91
packages/jq/src/methods/css.ts
on
called by 87
packages/jq/src/methods/on.ts
addEventListener
called by 86
packages/shared/src/base/mdui-element.ts
attr
called by 80
packages/jq/src/methods/attr.ts
map
called by 78
packages/jq/src/methods/map.ts

Shape

Method 659
Function 262
Interface 206
Class 134

Languages

TypeScript100%

Modules by API surface

packages/mdui/src/components/text-field/index.ts45 symbols
packages/mdui/src/components/menu/menu.ts29 symbols
packages/mdui/src/components/segmented-button/segmented-button-group.ts27 symbols
packages/mdui/src/components/menu/menu-item.ts25 symbols
packages/mdui/src/components/tooltip/index.ts24 symbols
packages/mdui/src/components/dropdown/index.ts24 symbols
packages/mdui/src/components/ripple/ripple-mixin.ts23 symbols
packages/mdui/src/components/select/index.ts22 symbols
packages/jq/src/shared/helper.ts21 symbols
packages/shared/src/mixins/scrollBehavior.ts20 symbols
packages/mdui/src/components/radio/radio-group.ts20 symbols
packages/mdui/src/components/navigation-drawer/index.ts20 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@custom-elements-manifest/analyzer0.10.4 · 1×
@eslint/js9.26.0 · 1×
@floating-ui/utils0.2.9 · 1×
@lit/localize0.12.2 · 1×
@lit/localize-tools0.8.0 · 1×
@lit/reactive-element2.1.0 · 1×
@material-design-icons/svg0.14.15 · 1×
@material/material-color-utilities0.3.0 · 1×
@mdui/jqworkspace:^ · 1×
@mdui/sharedworkspace:^ · 1×
@open-wc/testing4.0.0 · 1×
@rollup/plugin-commonjs28.0.3 · 1×

For agents

$ claude mcp add mdui \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact