- Notifications
You must be signed in to change notification settings - Fork1k
Material Design Web Components
License
NotificationsYou must be signed in to change notification settings
material-components/material-web
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
@material/web
is a library ofweb componentsthat helps build beautiful and accessible web applications. It usesMaterial 3, the latest version of Google'sopen-source design system.
Note:MWC is in maintenance mode pending new maintainers.
Tip: Using Angular? We recommend usingAngular Material componentsinstead.
This code snippet is a buildless example that loads@material/web
from a CDN.Check out thequick start guide to install and buildfor production.
<head><linkhref="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap"rel="stylesheet"><scripttype="importmap">{"imports":{"@material/web/":"https://esm.run/@material/web/"}}</script><scripttype="module">import'@material/web/all.js';import{stylesastypescaleStyles}from'@material/web/typography/md-typescale-styles.js';document.adoptedStyleSheets.push(typescaleStyles.styleSheet);</script></head><body><h1class="md-typescale-display-medium">Hello Material!</h1><form><pclass="md-typescale-body-medium">Check out these controls in a form!</p><md-checkbox></md-checkbox><div><md-radioname="group"></md-radio><md-radioname="group"></md-radio><md-radioname="group"></md-radio></div><md-outlined-text-fieldlabel="Favorite color"value="Purple"></md-outlined-text-field><md-outlined-buttontype="reset">Reset</md-outlined-button></form><style>form {display: flex;flex-direction: column;align-items: flex-start;gap:16px; }</style></body>
About
Material Design Web Components
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.