material-inspired-component-library
Version:
The Material-Inspired Component Library (MICL) offers a collection of beautifully crafted components leveraging native HTML markup, designed to align with the Material Design 3 guidelines.
207 lines (204 loc) • 11.5 kB
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MICL Buttons</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1&icon_names=dark_mode,edit&display=block">
<link rel="stylesheet" href="themes/airblue/theme.css" id="theme-link">
<link rel="stylesheet" href="micl.css">
<link rel="stylesheet" href="docs.css">
</head>
<body class="light">
<div class="headline">
<h1 class="md-sys-typescale-emphasized-display-small">Buttons</h1>
<div id="settings-placeholder"></div>
</div>
<div class="cards">
<div class="micl-card-filled" style="width:850px">
<div class="micl-card__headline-m">
<h2>Text buttons</h2>
</div>
<div class="micl-card__content" style="padding-block:8px 16px">
<button type="button" class="micl-button-text-xs">Click</button>
<button type="button" class="micl-button-text-s">Click</button>
<button type="button" class="micl-button-text-m">Click</button>
<button type="button" class="micl-button-text-l">Click</button>
<button type="button" class="micl-button-text-xl">Click</button>
<p></p>
<button type="button" class="micl-button-text-xs micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-text-s micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-text-m micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-text-l micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-text-xl micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
</div>
</div>
<div class="micl-card-outlined" style="width:850px">
<div class="micl-card__headline-m">
<h2>Elevated buttons</h2>
</div>
<div class="micl-card__content" style="padding-block:8px 16px">
<button type="button" class="micl-button-elevated-xs">Click</button>
<button type="button" class="micl-button-elevated-s">Click</button>
<button type="button" class="micl-button-elevated-m">Click</button>
<button type="button" class="micl-button-elevated-l">Click</button>
<button type="button" class="micl-button-elevated-xl">Click</button>
<p></p>
<button type="button" class="micl-button-elevated-xs micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-elevated-s micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-elevated-m micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-elevated-l micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-elevated-xl micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
</div>
</div>
<div class="micl-card-elevated" style="width:850px">
<div class="micl-card__headline-m">
<h2>Filled buttons</h2>
</div>
<div class="micl-card__content" style="padding-block:8px 16px">
<button type="button" class="micl-button-filled-xs">Click</button>
<button type="button" class="micl-button-filled-s">Click</button>
<button type="button" class="micl-button-filled-m">Click</button>
<button type="button" class="micl-button-filled-l">Click</button>
<button type="button" class="micl-button-filled-xl">Click</button>
<p></p>
<button type="button" class="micl-button-filled-xs micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-filled-s micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-filled-m micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-filled-l micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-filled-xl micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
</div>
</div>
<div class="micl-card-outlined" style="width:850px">
<div class="micl-card__headline-m">
<h2>Tonal buttons</h2>
</div>
<div class="micl-card__content" style="padding-block:8px 16px">
<button type="button" class="micl-button-tonal-xs">Click</button>
<button type="button" class="micl-button-tonal-s">Click</button>
<button type="button" class="micl-button-tonal-m">Click</button>
<button type="button" class="micl-button-tonal-l">Click</button>
<button type="button" class="micl-button-tonal-xl">Click</button>
<p></p>
<button type="button" class="micl-button-tonal-xs micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-tonal-s micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-tonal-m micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-tonal-l micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-tonal-xl micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
</div>
</div>
<div class="micl-card-elevated" style="width:850px">
<div class="micl-card__headline-m">
<h2>Outlined buttons</h2>
</div>
<div class="micl-card__content" style="padding-block:8px 16px">
<button type="button" class="micl-button-outlined-xs">Click</button>
<button type="button" class="micl-button-outlined-s">Click</button>
<button type="button" class="micl-button-outlined-m">Click</button>
<button type="button" class="micl-button-outlined-l">Click</button>
<button type="button" class="micl-button-outlined-xl">Click</button>
<p></p>
<button type="button" class="micl-button-outlined-xs micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-outlined-s micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-outlined-m micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-outlined-l micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
<button type="button" class="micl-button-outlined-xl micl-button--square">
<span class="micl-button__icon material-symbols-outlined">edit</span>
Click
</button>
</div>
</div>
<div class="micl-card-outlined" style="width:850px">
<div class="micl-card__headline-m">
<h2>Toggle buttons</h2>
</div>
<div class="micl-card__content" style="padding-block:8px 16px">
<button type="button" class="micl-button-elevated-m micl-button--toggle">Click</button>
<button type="button" class="micl-button-filled-m micl-button--toggle">Click</button>
<button type="button" class="micl-button-tonal-m micl-button--toggle">Click</button>
<button type="button" class="micl-button-outlined-m micl-button--toggle">Click</button>
<p></p>
<button type="button" class="micl-button-elevated-m micl-button--toggle micl-button--selected">Click</button>
<button type="button" class="micl-button-filled-m micl-button--toggle micl-button--selected">Click</button>
<button type="button" class="micl-button-tonal-m micl-button--toggle micl-button--selected">Click</button>
<button type="button" class="micl-button-outlined-m micl-button--toggle micl-button--selected">Click</button>
</div>
</div>
</div>
<script src="micl.js"></script>
<script src="docs.js"></script>
</body>
</html>