npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mdui

v2.1.3

Published

实现 material you 设计规范的 Web Components 组件库

Downloads

38,050

Readme

mdui

GitHub version npm version CDNJS

官网 | 文档

使用 Web Components 实现,遵循 Material You 设计规范的 Web 前端组件库。

  • Web Components:mdui 组件全部使用 Web Components 开发,使用组件就像使用 <div> 标签一样简单。
  • Material You:遵循最新的 Material Design 3(Material You)设计规范,使你的产品美观、易用。
  • 动态配色:支持根据给定颜色值,或给定一张图片,mdui 能自动计算出颜色值,生成整套配色方案,并在所有 mdui 组件中生效。
  • 暗色模式:所有组件都支持暗色模式、及支持根据操作系统设置自动切换亮色模式和暗色模式。
  • 轻量级:gzip 后的 CSS + JavaScript 仅 85KB,使用按需导入可进一步减小体积,使加载更迅速。
  • IDE 支持:在 VSCode 和 WebStorm 中能获得完美的代码提示。且提供了 VSCode 扩展和 WebStorm 插件,使开发更便捷。
  • 兼容所有框架:mdui 能兼容 Vue、React、Angular 等框架,只要在浏览器上运行的应用,都能使用 mdui。
  • TypeScript 支持:mdui 完全使用 TypeScript 开发,拥有完美的类型提示。
  • 无依赖:不需要依赖任何第三方库,节约网络流量,使加载更迅速。
  • 组件丰富:mdui 包含 30 多个组件,及十余个工具函数,常用组件都有。
  • Material Icons 图标库:提供了超过 1 万个图标组件,可按需导入所需图标。
  • 低学习成本:只需懂一点 HTML、CSS、JavaScript 的基础知识,就能使用 mdui。

安装

npm install mdui --save

导入 CSS 及 JS 文件

import 'mdui/mdui.css';
import 'mdui';

使用组件

<mdui-button>Button</mdui-button>

赞助

赞助以帮助 mdui 持续更新

通过支付宝赞助 通过微信赞助 通过 Paypal 赞助