Grommet
HPE Grommet · Grommet UI · HPE Design System · Grommet React
The React library born at a large American IT company, built for accessibility and theming. The base violet #7D4CDB theme has pill buttons with thick borders, roomy type, rounded cards and lots of space, with a friendly tone even for professional tools.
- Era
- 2015 – today
- Origin
- Hewlett Packard Enterprise (Stati Uniti)
- Use
- Mainstream
- Domain
- Web / UI
- Geography
- United States
Live demo
View code
<div class="card"><div class="hd"><b>Profilo del locale</b><span class="tag">Nuovo</span></div>
<label>Nome del locale</label><div class="in focus">Caffè Velò</div><label>Email</label><div class="in">ciao@caffevelo.it</div>
<div class="row"><span class="sw"><i></i></span>Ricevi notifiche degli ordini</div><div class="al">ⓘ Le modifiche saranno visibili ai clienti tra pochi minuti.</div>
<div class="btns"><a class="pri">Salva</a><a class="sec">Anteprima</a><a class="lnk">Annulla</a></div></div> body{background:#F8F8F8;font-family:'Work Sans',sans-serif;color:#444444;display:grid;place-items:center;font-size:12px}
.pri{background:#7D4CDB;color:#fff;border-radius:999px;padding:8px 16px;font-weight:600;display:inline-block}
.sec{border:1px solid #7D4CDB;color:#7D4CDB;border-radius:999px;padding:7px 15px;font-weight:600;display:inline-block}.lnk{color:#7D4CDB;text-decoration:underline;padding:8px}
.card{width:400px;background:#FFFFFF;border-radius:18px;padding:18px 20px;box-shadow:0 4px 12px #0000001f}
.hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.hd b{font-size:17px;}.tag{background:#F1EBFC;color:#7D4CDB;border-radius:999px;padding:2px 9px;font-size:11px;font-weight:600}
label{display:block;font-weight:600;margin:8px 0 4px;font-size:11.5px}.in{border:1px solid #CCCCCC;border-radius:4px;padding:8px 10px;background:#fff}.in.focus{border-color:#7D4CDB;box-shadow:0 0 2px 2px #6FFFB0}
.row{display:flex;align-items:center;gap:8px;margin:12px 0 8px}.sw{width:34px;height:18px;border-radius:9px;background:#7D4CDB;position:relative}.sw i{position:absolute;right:2px;top:2px;width:14px;height:14px;border-radius:50%;background:#fff}
.al{background:#F1EBFC;border-left:4px solid #7D4CDB;border-radius:4px;padding:8px 10px;margin-bottom:12px}.btns{display:flex;gap:8px;align-items:center} Characteristics
- Pill buttons with a 2 px border
- Violet #7D4CDB in the base theme, green in the corporate theme
- Cards with large corners and soft shadows
- Generous spacing and large text
- Accessible components with clearly visible focus
Palette
Click a swatch to copy it
Typography
Headings · Work Sans Grommet
Body · Work Sans The React library born at a large American IT company, built for accessibility and theming. The base violet #7D4CDB theme has pill buttons with thick borders, roomy type, rounded cards and lots of space, with a friendly tone even for professional tools.
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: Grommet (HPE Grommet, Grommet UI). The React library born at a large American IT company, built for accessibility and theming. The base violet #7D4CDB theme has pill buttons with thick borders, roomy type, rounded cards and lots of space, with a friendly tone even for professional tools. Characteristics: Pill buttons with a 2 px border, Violet #7D4CDB in the base theme, green in the corporate theme, Cards with large corners and soft shadows, Generous spacing and large text, Accessible components with clearly visible focus. Palette: #7D4CDB, #6FFFB0, #FFFFFF, #F8F8F8, #444444, #FF4040. Typography: headings in Work Sans, body text in Work Sans (Google Fonts or equivalents). Mood: playful, clean, calm. References: https://v2.grommet.io, HPE Design System, React.
Relations
References
- https://v2.grommet.io
- HPE Design System
- React