<html>
  <head>
    <title>Material Components for the web, Chips Demo</title>
    <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
    <link rel="stylesheet" href="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.css">
  </head>
  
  <body class="mdc-typography">
    <h3 class="mdc-typography--display2">Material Components for the web, Chips Examples</h3>
    
    Basic Chip: &nbsp;&nbsp;&nbsp;
    <div class="mdc-chip">
    <div class="mdc-chip__text">basic chip</div>
    </div>
    
    <br><br>
    
    Chip with a icon prefix: &nbsp;&nbsp;&nbsp;
    
    <div class="mdc-chip">
      <i class="material-icons mdc-chip__icon mdc-chip__icon--leading">accessible</i>
      <div class="mdc-chip__text">wheel chair available</div>
    </div>
    
    <br><br><br>  
    
     Chip with a icon postfix: &nbsp;&nbsp;&nbsp;
    
    <div class="mdc-chip">
      <div class="mdc-chip__text">Refresh</div>
      <i class="material-icons mdc-chip__icon mdc-chip__icon--trailing">cached</i>
    </div>
            
    <br><br><br><br>
    <hr>


    <script src="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.js"></script>
    <script>mdc.autoInit()</script>
  </body>
  
</html>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.