HTML
CSS
JavaScript
HTML
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>图标 - 在按钮中的使用示例</title>
  <link rel="stylesheet" href="https://cdn.w3cbus.com/library/mdui/1.0.2/css/mdui.min.css"/>
</head>
<body class="mdui-theme-primary-indigo mdui-theme-accent-pink">

  <div class="mdui-container">
    <button class="mdui-btn mdui-color-theme-accent mdui-ripple"><i class="mdui-icon mdui-icon-left material-icons">share</i> Share</button>
    <button class="mdui-btn mdui-color-theme-accent mdui-ripple"><i class="mdui-icon mdui-icon-right material-icons">share</i> Share</button>
    <button class="mdui-btn mdui-color-yellow mdui-ripple"><i class="mdui-icon mdui-icon-right material-icons">share</i> Share</button>
    <button class="mdui-btn mdui-color-yellow" disabled><i class="mdui-icon mdui-icon-right material-icons">share</i> Share</button>
  </div>

  <script src="https://cdn.w3cbus.com/library/mdui/1.0.2/js/mdui.min.js"></script>
</body>
</html>
CSS

  
JavaScript