MUI (Material UI)
Mood track «Bleeping Demo» · Kevin MacLeod incompetech.com · licensed under Creative Commons BY 4.0
Material UI · MUI · Material-UI · MUI Core · @mui/material
The most widespread React component library translating Google's Material Design into ready code, born as an open-source project and later the company MUI. Recognisable by
- Era
- 2014 – today
- Origin
- MUI, Stati Uniti e Francia
- Use
- Mainstream
- Domain
- Web / UI
- Geography
- United States · France
Live demo
View code
<main class="root">
<header class="bar"><span class="hb"><i></i><i></i><i></i></span><b>Caffè Giulia · Ordini</b><span class="av">G</span></header>
<div class="body">
<section class="paper form">
<h3>Nuovo ordine</h3>
<div class="tf out"><label>Cliente</label><div class="in">Giulia Bianchi</div></div>
<div class="tf fill"><label>Prodotto</label><div class="in">Cappuccino</div></div>
<div class="acts"><button class="txt">Annulla</button><button class="cont">Salva</button></div>
</section>
<section class="paper grid">
<div class="r h"><i class="cb on"></i><span>Ordine</span><span>Stato</span><span class="n">Totale</span></div>
<div class="r sel"><i class="cb on"></i><span>#1042</span><span><em class="chip ok">Pagato</em></span><span class="n">€ 4,50</span></div>
<div class="r"><i class="cb"></i><span>#1043</span><span><em class="chip">In attesa</em></span><span class="n">€ 2,80</span></div>
<div class="r"><i class="cb"></i><span>#1044</span><span><em class="chip ok">Pagato</em></span><span class="n">€ 7,20</span></div>
<div class="foot">Righe per pagina: 5 1–3 di 3</div>
</section>
</div>
<span class="fab">+</span>
</main> body{margin:0;height:100vh;display:grid;place-items:center;background:#E8EAF0;font-family:Roboto,sans-serif;color:#212121;overflow:hidden}
.root{position:relative;width:540px;background:#F5F5F5;border-radius:6px;overflow:hidden;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}
.bar{display:flex;align-items:center;gap:20px;height:52px;padding:0 16px;background:#1976D2;color:#fff;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024}
.bar b{font-weight:500;font-size:18px;letter-spacing:.01em;flex:1}
.hb{display:flex;flex-direction:column;gap:4px}.hb i{width:18px;height:2px;background:#fff}
.av{width:30px;height:30px;border-radius:50%;background:#9C27B0;display:grid;place-items:center;font-size:14px}
.body{display:grid;grid-template-columns:200px 1fr;gap:14px;padding:16px}
.paper{background:#fff;border-radius:4px;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}
.form{padding:14px}
h3{margin:0 0 16px;font-weight:500;font-size:16px}
.tf{position:relative;margin-bottom:16px;font-size:14px}
.out .in{border:2px solid #1976D2;border-radius:4px;padding:11px 12px}
.out label{position:absolute;top:-8px;left:9px;background:#fff;padding:0 4px;font-size:11px;color:#1976D2}
.fill .in{background:#0000000f;border-radius:4px 4px 0 0;border-bottom:1px solid #0000006b;padding:20px 12px 6px}
.fill label{position:absolute;top:5px;left:12px;font-size:11px;color:#0009}
.acts{display:flex;justify-content:flex-end;gap:8px}
button{font:500 13px Roboto,sans-serif;text-transform:uppercase;letter-spacing:.06em;border:0;border-radius:4px;padding:7px 14px;cursor:pointer}
.txt{background:none;color:#1976D2}
.cont{background:#1976D2;color:#fff;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}
.grid{font-size:13px;overflow:hidden}
.r{display:grid;grid-template-columns:22px 1fr 1fr 64px;align-items:center;gap:8px;height:42px;padding:0 12px;border-bottom:1px solid #E0E0E0}
.r.h{font-weight:500;height:46px}.r.sel{background:#1976D214}
.n{text-align:right}
.cb{width:16px;height:16px;border:2px solid #0000008a;border-radius:2px}
.cb.on{background:#1976D2;border-color:#1976D2;position:relative}
.cb.on::after{content:"";position:absolute;left:3px;top:0;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.chip{font-style:normal;font-size:12px;border-radius:16px;padding:3px 10px;background:#00000014}
.chip.ok{background:#2E7D32;color:#fff}
.foot{font-size:12px;color:#0009;padding:12px}
.fab{position:absolute;right:18px;bottom:16px;width:44px;height:44px;border-radius:50%;background:#9C27B0;color:#fff;display:grid;place-items:center;font-size:24px;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024}
@media (max-width:600px){.root{zoom:.75}}
@media (max-width:420px){.root{zoom:.5}} Characteristics
- #1976D2 blue primary and #9C27B0 purple secondary
- Roboto with uppercase, widely tracked buttons
- Paper with elevation-level shadows (0–24)
- Outlined and filled fields with floating labels
- Theme configured via createTheme and the sx prop
Palette
Click a swatch to copy it
Typography
Headings · Roboto MUI (Material UI)
Body · Roboto The most widespread React component library translating Google's Material Design into ready code, born as an open-source project and later the company MUI. Recognisable by
Prompt for your agent
Copy and paste into your prompt to have an agent or image generator reproduce this style.
For web pages and UI
Design the web page or interface in this style: MUI (Material UI) (Material UI, MUI). The most widespread React component library translating Google's Material Design into ready code, born as an open-source project and later the company MUI. Recognisable by Characteristics: #1976D2 blue primary and #9C27B0 purple secondary, Roboto with uppercase, widely tracked buttons, Paper with elevation-level shadows (0–24), Outlined and filled fields with floating labels, Theme configured via createTheme and the sx prop. Palette: #1976D2, #9C27B0, #FFFFFF, #F5F5F5, #212121, #2E7D32. Typography: headings in Roboto, body text in Roboto (Google Fonts or equivalents). Mood: clean, rational, tactile. References: https://mui.com, MUI X Data Grid, Material Design 2 di Google, Toolpad.
Relations
References
- https://mui.com
- MUI X Data Grid
- Material Design 2 di Google
- Toolpad