Home-screen widgets
Home screen widgets · Widget iOS 14 · Smart stack · Widgets de inicio · Widget a griglia
Rounded tiles placed on the phone screen next to the app icons, showing weather, calendar, photos and battery at a glance. They took off in 2020 and started the craze for customising home screens with matching aesthetics.
- Era
- 2020 – today
- Use
- Mainstream
Live demo
View code
<div class="home">
<div class="w weather"><span class="city">Bari ➤</span><b class="deg">23°</b><i class="sun"></i><span class="d">Sereno<br>Max 26° Min 18°</span></div>
<div class="w cal"><span class="dw">MARTEDÌ</span><b>13</b><span class="ev e1">10:00 Riunione</span><span class="ev e2">13:30 Pranzo</span></div>
<div class="w photo"><svg class="p1" viewBox="0 0 220 110" preserveAspectRatio="xMidYMid slice"><defs><linearGradient id="wh1" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#38bdf8"/><stop offset="1" stop-color="#e0f2fe"/></linearGradient></defs><rect width="220" height="110" fill="url(#wh1)"/><circle cx="170" cy="26" r="11" fill="#fff7d6"/><rect y="58" width="220" height="52" fill="#0ea5e9"/><path d="M60 70h30M120 66h40M150 78h30M90 84h26" stroke="#e0f2fe" stroke-width="2" opacity=".7"/><path d="M0 110V44q18-10 34-4l22 30 18 40z" fill="#b45309"/><path d="M0 110V60q16-6 30 2l16 22 12 26z" fill="#92400e"/><rect x="10" y="30" width="18" height="12" fill="#fff"/><path d="M8 31l11-8 11 8z" fill="#ef4444"/><path d="M96 110q60-26 124-20v20z" fill="#fde68a"/><path d="M168 96v-20" stroke="#78350f" stroke-width="2"/><path d="M152 78q16-14 32 0z" fill="#f43f5e"/><path d="M160 78q8-12 16 0" fill="#fff"/></svg><svg class="p2" viewBox="0 0 220 110" preserveAspectRatio="xMidYMid slice"><rect width="220" height="110" fill="#fde68a"/><rect x="20" y="30" width="120" height="80" fill="#fff7ed"/><path d="M16 30h128l-6 14H22z" fill="#e11d48"/><path d="M16 30h16l-2 14h-8zM48 30h16v14H48zM80 30h16v14H80zM112 30h16l2 14h-14z" fill="#fff"/><rect x="34" y="56" width="26" height="54" fill="#334155"/><g fill="none" stroke="#0f766e" stroke-width="4"><circle cx="150" cy="94" r="12"/><circle cx="196" cy="94" r="12"/><path d="M150 94l14-18h20l12 18M164 76l10 18h22"/></g></svg><span class="lbl">Ricordi<br><small>un anno fa</small></span></div>
<div class="w bat"><i class="r r1"><b>⚡</b></i><i class="r r2"><b>⌚</b></i><i class="r r3"><b>🎧</b></i><i class="r r4"><b>✎</b></i></div>
<div class="w todo"><span class="tt">Promemoria</span><span class="it i1"><i></i>Ritirare la bici</span><span class="it i2"><i></i>Caffè con Sara</span><span class="it i3"><i></i>Comprare il pane</span><b class="cnt">3</b></div>
<div class="apps"><i style="--c:#34C759">✆</i><i style="--c:#007AFF">✉</i><i style="--c:#FF9500">♪</i><i style="--c:#AF52DE">✿</i></div>
</div> body{background:#d8d0f0;display:grid;place-items:center;overflow:hidden;font-family:Inter,sans-serif}
.home{width:484px;max-width:94vw;height:276px;padding:14px;border-radius:30px;display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(4,1fr);gap:10px;background:radial-gradient(circle at 10% 0%,#fbcfe8,#0000 50%),radial-gradient(circle at 100% 100%,#a5b4fc,#0000 55%),linear-gradient(135deg,#f5d0fe,#c7d2fe);box-shadow:0 10px 30px #4c1d9533}
.w{position:relative;border-radius:20px;overflow:hidden;box-shadow:0 6px 16px #4338ca22,0 1px 2px #0001}
.weather{grid-area:1/1/3/3;background:linear-gradient(160deg,#4FACFE,#2563eb);color:#fff;padding:10px 12px}
.city{font-size:11px;font-weight:600}.deg{display:block;font-size:34px;font-weight:500;line-height:1.05;letter-spacing:-.03em}
.sun{position:absolute;right:12px;top:12px;width:22px;height:22px;border-radius:50%;background:#FFD60A;box-shadow:0 0 0 4px #ffd60a44}
.sun::before{content:"";position:absolute;inset:-8px;border-radius:50%;background:repeating-conic-gradient(#FFD60A 0 8deg,#0000 8deg 45deg);-webkit-mask:radial-gradient(circle,#0000 14px,#000 15px);mask:radial-gradient(circle,#0000 14px,#000 15px)}
.d{position:absolute;left:12px;bottom:9px;font-size:9.5px;font-weight:500;line-height:1.3}
.cal{grid-area:1/3/3/5;background:#fff;padding:10px 12px;display:flex;flex-direction:column}
.dw{font-size:9.5px;font-weight:700;color:#FF3B30;letter-spacing:.04em}.cal b{font-size:34px;font-weight:400;line-height:1;color:#1C1C1E}
.ev{margin-top:5px;font-size:9px;font-weight:600;color:#1C1C1E;padding-left:6px;border-left:3px solid #FF3B30;white-space:nowrap}.e2{border-color:#34C759}
.photo{grid-area:1/5/3/9}
.photo svg{position:absolute;inset:0;width:100%;height:100%}
.p2{opacity:0}
.lbl{position:absolute;left:12px;bottom:10px;color:#fff;font-size:12px;font-weight:700;line-height:1.1;text-shadow:0 1px 6px #0006}.lbl small{font-weight:500;font-size:9.5px}
.bat{grid-area:3/1/5/3;background:#1C1C1E;display:grid;grid-template-columns:1fr 1fr;place-items:center;padding:8px}
.r{--p:82%;width:36px;height:36px;border-radius:50%;background:conic-gradient(#34C759 var(--p),#3a3a3c 0);display:grid;place-items:center}
.r::before{content:"";grid-area:1/1;width:28px;height:28px;border-radius:50%;background:#1C1C1E}
.r b{grid-area:1/1;position:relative;font-size:11px;color:#fff;font-weight:400}
.r2{--p:54%}.r3{--p:28%;background:conic-gradient(#FFD60A var(--p),#3a3a3c 0)}.r4{--p:96%}
.todo{grid-area:3/3/5/7;background:#ffffffcc;backdrop-filter:blur(10px);padding:10px 14px;display:flex;flex-direction:column;gap:5px}
.tt{font-size:11px;font-weight:800;color:#FF9500}
.it{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:500;color:#1C1C1E}
.it i{width:13px;height:13px;border-radius:50%;border:1.5px solid #c7c7cc;flex:none}
.i1 i{background:#FF9500;border-color:#FF9500;box-shadow:inset 0 0 0 2px #fff}.i1{color:#8e8e93;text-decoration:line-through}
.cnt{position:absolute;right:14px;top:8px;font-size:26px;font-weight:700;color:#1C1C1E}
.apps{grid-area:3/7/5/9;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.apps i{border-radius:14px;background:linear-gradient(160deg,color-mix(in srgb,var(--c),#fff 25%),var(--c));display:grid;place-items:center;color:#fff;font-style:normal;font-size:20px;box-shadow:0 4px 10px #0001}
@property --p{syntax:'<percentage>';inherits:false;initial-value:0%}
@media (prefers-reduced-motion:no-preference){
.sun::before{animation:rot 8s linear infinite}
.p1{animation:kb 8s ease-in-out infinite}.p2{animation:kb2 8s ease-in-out infinite}
.r1{animation:fill 8s ease-in-out infinite}
.i2 i{animation:chk 8s ease infinite}
.w,.apps i{animation:wig 8s linear infinite}
.bat{animation-delay:-.1s}.cal{animation-delay:-.2s}.photo{animation-delay:-.05s}.todo{animation-delay:-.15s}
}
@keyframes rot{to{transform:rotate(360deg)}}
@keyframes kb{0%{opacity:1;transform:scale(1)}45%{opacity:1;transform:scale(1.12)}50%,95%{opacity:0;transform:scale(1.12)}100%{opacity:1;transform:scale(1)}}
@keyframes kb2{0%,45%{opacity:0;transform:scale(1.1)}50%{opacity:1;transform:scale(1.1)}95%{opacity:1;transform:scale(1)}100%{opacity:0}}
@keyframes fill{0%{--p:40%}60%{--p:82%}100%{--p:40%}}
@keyframes chk{0%,30%{background:#0000;border-color:#c7c7cc}34%,100%{background:#FF9500;border-color:#FF9500;box-shadow:inset 0 0 0 2px #fff}}
@keyframes wig{0%,72%{transform:none}73%{transform:rotate(-1.2deg)}74.5%{transform:rotate(1.2deg)}76%{transform:rotate(-1.2deg)}77.5%{transform:rotate(1.2deg)}79%{transform:rotate(-1.2deg)}80.5%{transform:rotate(1.2deg)}82%{transform:rotate(-1deg)}83.5%{transform:rotate(1deg)}85%,100%{transform:none}} Characteristics
- Small medium and large tiles on a 2x2 and 4x2 grid
- Very rounded corners and soft shadows
- One big piece of information per tile
- Circular rings for batteries and activity
- Gradient or frosted-glass backgrounds
Palette
Click a swatch to copy it
Typography
Headings · Inter Home-screen widgets
Body · Inter Rounded tiles placed on the phone screen next to the app icons, showing weather, calendar, photos and battery at a glance. They took off in 2020 and started the craze for customising home screens with matching aesthetics.
Motion
- Easing
spring per l'aggiunta, ease-in-out per i contenuti- Typical duration
- 300–500 ms; aggiornamenti periodici dei dati
- Techniques
- griglia CSS con riquadri che occupano 2x2 e 4x2 celle, conic-gradient per gli anelli, dissolvenza tra le foto del widget, oscillazione in modalità modifica, pila di widget scorrevole in verticale
Accessibility (reduced motion)
Show still widgets with static data, without wiggle or crossfades.
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: Home-screen widgets (Home screen widgets, Widget iOS 14). Rounded tiles placed on the phone screen next to the app icons, showing weather, calendar, photos and battery at a glance. They took off in 2020 and started the craze for customising home screens with matching aesthetics. Characteristics: Small medium and large tiles on a 2x2 and 4x2 grid, Very rounded corners and soft shadows, One big piece of information per tile, Circular rings for batteries and activity, Gradient or frosted-glass backgrounds. Palette: #4FACFE, #FFFFFF, #FF3B30, #34C759, #1C1C1E, #F2EBFF. Typography: headings in Inter, body text in Inter (Google Fonts or equivalents). Mood: clean, playful, calm. Motion: easing spring per l'aggiunta, ease-in-out per i contenuti, typical duration 300–500 ms; aggiornamenti periodici dei dati; techniques: griglia CSS con riquadri che occupano 2x2 e 4x2 celle, conic-gradient per gli anelli, dissolvenza tra le foto del widget, oscillazione in modalità modifica, pila di widget scorrevole in verticale. With prefers-reduced-motion: Show still widgets with static data, without wiggle or crossfades. References: Widget della schermata Home dei telefoni (2020), riquadri animati delle interfacce a piastrelle (2010), widget dei telefoni Android (2008), mania delle Home personalizzate con icone e widget a tema (2020).
For images
Create the image in this visual style: Home-screen widgets (Home screen widgets, Widget iOS 14). Rounded tiles placed on the phone screen next to the app icons, showing weather, calendar, photos and battery at a glance. They took off in 2020 and started the craze for customising home screens with matching aesthetics. Characteristics: Small medium and large tiles on a 2x2 and 4x2 grid, Very rounded corners and soft shadows, One big piece of information per tile, Circular rings for batteries and activity, Gradient or frosted-glass backgrounds. Keywords: phone home screen with a tidy grid of rounded-square widgets, small blue gradient weather tile with a sun icon and a big temperature number, white calendar tile with a big red-accented date, wide photo widget showing the woman with her bicycle in front of the café as a memory picture, dark tile with circular battery rings, soft drop shadows and frosted glass, pastel wallpaper, crisp flat vector UI. Palette: #4FACFE, #FFFFFF, #FF3B30, #34C759, #1C1C1E, #F2EBFF. Mood: clean, playful, calm. Avoid: desktop windows, skeuomorphic leather, cluttered icon rows, logos, brand names, readable text.
Relations
Derives from
References
- Widget della schermata Home dei telefoni (2020)
- riquadri animati delle interfacce a piastrelle (2010)
- widget dei telefoni Android (2008)
- mania delle Home personalizzate con icone e widget a tema (2020)