MCPcopy Index your code
hub / github.com/clshortfuse/materialdesignweb

github.com/clshortfuse/materialdesignweb @v0.11.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.11.4 ↗ · + Follow
1,650 symbols 3,761 edges 206 files 605 documented · 37%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

materialdesignweb

Material Design 3 (Material You) Web Components — standards‑focused and zero‑dependency.

Version License MinZip Dependents

Chromium Firefox Webkit

Live demo: https://clshortfuse.github.io/materialdesignweb/ Samples: https://clshortfuse.github.io/materialdesignweb/samples/

Use the CDN (zero-install)

<script src="https://cdn.jsdelivr.net/npm/@shortfuse/materialdesignweb?color=6750A4"></script>
<mdw-button>Hello World</mdw-button>

CDN theming params: color, custom, lightness, resetCSS.

Access exports via globalThis['@shortfuse/materialdesignweb']:

const { CustomElement } = globalThis['@shortfuse/materialdesignweb'];

Import what you need (ESM)

npm install @shortfuse/materialdesignweb

Full bundle:

import '@shortfuse/materialdesignweb';

Single component:

import Button from '@shortfuse/materialdesignweb/components/Button.js';

Support

Compatibility is kept for as long possible by including browser-version-based patches. Ultimately, compatiblity may be dropped as new features get added. Bugs present in supported browsers should always be fixed.

Feature Chrome Edge Firefox Safari
ShadowRoot 53 79 63 10
WeakRef 84 84 79 14.1
:where() 88 88 78 14
Array.at 92 92 90 15.4
replaceChildren 84 86 79 14.1
ElementInternals 77 79 93 16.4
delegatesFocus 53 79 94 15
AdoptedStyleSheets* 73 79 101 16.4
CSS container queries* 106 106 110 16.0
Compatibility 88 88 78 16.4
Support Latest ChromeOS LTS Release [Microsoft Edge Extended Stable Channel](https://learn.microsof

Core symbols most depended-on inside this repo

html
called by 326
test/utils.js
observe
called by 304
core/CustomElement.js
html
called by 253
core/CustomElement.js
extend
called by 248
core/CustomElement.js
register
called by 193
core/CustomElement.js
mixin
called by 172
core/CustomElement.js
css
called by 93
core/CustomElement.js
autoRegister
called by 84
core/CustomElement.js

Shape

Function 1,276
Method 272
Class 102

Languages

TypeScript100%

Modules by API surface

demo/sample/sample.min.js357 symbols
test/core/custom-element.test.js82 symbols
scripts/cem-generate.js56 symbols
core/CustomElement.js53 symbols
components/Input.js53 symbols
utils/material-color/scheme/Scheme.js46 symbols
core/observe.js32 symbols
mixins/InputMixin.js31 symbols
mixins/FormAssociatedMixin.js30 symbols
test/state/sharing.test.js29 symbols
core/Composition.js29 symbols
components/TabList.js25 symbols

For agents

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

⬇ download graph artifact