Mdui
Material Design 3(Material You) UI components using Web Components.
Install / Use
/learn @zdhxiong/MduiREADME
<br/> <a href="https://www.npmjs.com/package/mdui"> <img src="https://img.shields.io/npm/v/mdui.svg" alt="npm version"/> </a> <a href="https://cdn.jsdelivr.net/npm/mdui/mdui.css"> <img src="https://badgen.net/badgesize/gzip/https://cdn.jsdelivr.net/npm/mdui/mdui.css?label=CSS%20gzip%20size" alt="CSS gzip size"/> </a> <a href="https://cdn.jsdelivr.net/npm/mdui/mdui.esm.js"> <img src="https://badgen.net/badgesize/gzip/https://cdn.jsdelivr.net/npm/mdui/mdui.esm.js?label=JS%20gzip%20size" alt="JS gzip size"/> </a> <a href="https://www.npmjs.com/package/mdui"> <img src="https://badgen.net/npm/dt/mdui" alt="downloads"/> </a> <a href="https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/LICENSE"> <img src="https://badgen.net/npm/license/mdui" alt="license"/> </a> </p> <hr/>I am developing mdui v3 based on the M3 Expressive specification. You can follow the mdui v3 development progress here. During this period, mdui v2 will continue to be updated for bug fixes and new features.
- 🧩 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
Related Skills
diffs
341.0kUse the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.
clearshot
Structured screenshot analysis for UI implementation and critique. Analyzes every UI screenshot with a 5×5 spatial grid, full element inventory, and design system extraction — facts and taste together, every time. Escalates to full implementation blueprint when building. Trigger on any digital interface image file (png, jpg, gif, webp — websites, apps, dashboards, mockups, wireframes) or commands like 'analyse this screenshot,' 'rebuild this,' 'match this design,' 'clone this.' Skip for non-UI images (photos, memes, charts) unless the user explicitly wants to build a UI from them. Does NOT trigger on HTML source code, CSS, SVGs, or any code pasted as text.
openpencil
1.9kThe world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.
ui-ux-designer
Use this agent when you need to design, implement, or improve user interface components and user experience flows. Examples include: creating new pages or components, improving existing UI layouts, implementing responsive designs, optimizing user interactions, building forms or dashboards, analyzing existing UI through browser snapshots, or when you need to ensure UI components follow design system standards and shadcn/ui best practices.\n\n<example>\nContext: User needs to create a new dashboard page for team management.\nuser: "I need to create a team management dashboard where users can view team members, invite new members, and manage roles"\nassistant: "I'll use the ui-ux-designer agent to design and implement this dashboard with proper UX considerations, using shadcn/ui components and our design system tokens."\n</example>\n\n<example>\nContext: User wants to improve the user experience of an existing form.\nuser: "The signup form feels clunky and users are dropping off. Can you improve it?"\nassistant: "Let me use the ui-ux-designer agent to analyze the current form UX and implement improvements using our design system and shadcn/ui components."\n</example>\n\n<example>\nContext: User wants to evaluate and improve existing UI.\nuser: "Can you take a look at our pricing page and see how we can make it more appealing and user-friendly?"\nassistant: "I'll use the ui-ux-designer agent to take a snapshot of the current pricing page, analyze the UX against Notion-inspired design principles, and implement improvements using our design tokens."\n</example>
