Bottom sheet
Bottom sheet · Pannello dal basso · Hoja inferior · Drawer mobile · Sheet con detent
A panel that rises from the bottom edge with a drag handle and settles at half or full height while the content behind dims. Codified by Material Design and iOS detents, it has become the standard way to show details without leaving the map or the list.
- Era
- 2015 – today
- Origin
- Stati Uniti
- Use
- Mainstream
- Geography
- United States
Live demo
View code
<main class="root">
<div class="phone">
<div class="screen">
<svg class="map" viewBox="0 0 200 330" preserveAspectRatio="xMidYMid slice"><rect width="200" height="330" fill="#E9EEF2"/><path d="M120 0 C150 80 170 90 200 110 V0Z" fill="#CFE6CF"/><rect x="18" y="210" width="60" height="44" rx="6" fill="#CFE6CF"/><g stroke="#fff" stroke-width="10" fill="none"><path d="M-10 70 L210 150"/><path d="M60 -10 L90 340"/><path d="M-10 260 L210 220"/></g><path d="M150 -10 L130 340" stroke="#FCE7B0" stroke-width="12"/><path d="M58 280 C80 200 100 150 120 108" stroke="#2563EB" stroke-width="4" fill="none" stroke-linecap="round" stroke-dasharray="1 7"/><g transform="translate(120 96)"><path d="M0 14 C-10 2 -10 -12 0 -12 C10 -12 10 2 0 14Z" fill="#F59E0B"/><circle cy="-3" r="4" fill="#fff"/></g><circle cx="58" cy="280" r="6" fill="#2563EB" stroke="#fff" stroke-width="3"/></svg>
<div class="search">⌕ Cerca un caffè</div>
<div class="dim"></div>
<section class="sheet">
<i class="handle"></i>
<h2>Caffè della Salita</h2>
<p class="meta"><b>★ 4,7</b> (318) · Bar · 650 m</p>
<div class="btns"><span class="pri">Indicazioni</span><span>Chiama</span><span>♡</span></div>
<div class="photos"><i style="background:#C8875A"></i><i style="background:#8FAE7E"></i><i style="background:#7FA3B8"></i></div>
<ul><li><span>Orari</span><b>Aperto · chiude 19:00</b></li><li><span>Indirizzo</span><b>Via dei Colli 14</b></li><li><span>Recensione</span><b>“Il miglior cappuccino” – Giulia</b></li></ul>
</section>
</div>
</div>
<ol class="legend"><li class="s1">Chiuso</li><li class="s2">Metà</li><li class="s3">Intero</li></ol>
</main> body{margin:0;height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#DCE6F2,#F3EEE6);font-family:'Plus Jakarta Sans',sans-serif;color:#111827;overflow:hidden}
.root{display:flex;align-items:center;gap:28px;width:440px;max-width:92vw;justify-content:center}
.phone{width:190px;height:338px;flex:none;border-radius:32px;background:#111827;padding:7px;box-shadow:0 24px 50px -20px #11182788}
.screen{position:relative;width:100%;height:100%;border-radius:26px;overflow:hidden;background:#E9EEF2}
.map{position:absolute;inset:0;width:100%;height:100%}
.search{position:absolute;top:22px;left:12px;right:12px;background:#fff;border-radius:999px;padding:8px 12px;font-size:11px;color:#6B7280;box-shadow:0 4px 12px #1118271f}
.dim{position:absolute;inset:0;background:#111827;opacity:.18}
.sheet{position:absolute;left:0;right:0;top:30px;bottom:0;background:#fff;border-radius:20px 20px 0 0;padding:8px 14px;box-shadow:0 -8px 24px #1118272e;transform:translateY(46%)}
.handle{display:block;width:34px;height:4px;border-radius:4px;background:#D1D5DB;margin:0 auto 10px}
h2{font-size:15px;font-weight:800;margin:0}
.meta{font-size:10px;color:#6B7280;margin:3px 0 10px}.meta b{color:#F59E0B}
.btns{display:flex;gap:5px;font-size:9.5px;font-weight:600}
.btns span{border:1px solid #D1D5DB;border-radius:999px;padding:5px 8px;color:#2563EB}.btns .pri{background:#2563EB;color:#fff;border-color:#2563EB}
.photos{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:12px 0}.photos i{height:44px;border-radius:8px}
ul{list-style:none;margin:0;padding:0;font-size:10px}
li{display:flex;flex-direction:column;padding:6px 0;border-top:1px solid #F0F1F3}li span{color:#6B7280}li b{font-weight:600}
.legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;font-size:13px;font-weight:600;color:#6B7280}
.legend li{display:flex;flex-direction:row;align-items:center;gap:10px;padding:0;border:0}
.legend li::before{content:"";width:12px;height:12px;border-radius:50%;border:2px solid #9CA3AF}
.legend .s2{color:#111827}.legend .s2::before{background:#2563EB;border-color:#2563EB}
@media (prefers-reduced-motion:no-preference){
.sheet{animation:sh 8s cubic-bezier(.32,.72,0,1) infinite}
.dim{animation:dm 8s cubic-bezier(.32,.72,0,1) infinite}
.legend li,.legend li::before{animation:8s steps(1) infinite}
.s1{animation-name:a1 !important}.s1::before{animation-name:b1 !important}
.s2{animation-name:a2 !important}.s2::before{animation-name:b2 !important}
.s3{animation-name:a3 !important}.s3::before{animation-name:b3 !important}
@keyframes sh{0%,10%{transform:translateY(calc(100% - 50px))}22%{transform:translateY(44%)}25%,48%{transform:translateY(46%)}60%{transform:translateY(-2%)}63%,80%{transform:translateY(0)}92%,100%{transform:translateY(calc(100% - 50px))}}
@keyframes dm{0%,10%{opacity:0}25%,48%{opacity:.18}63%,80%{opacity:.5}92%,100%{opacity:0}}
@keyframes a1{0%{color:#111827}16%,88%{color:#6B7280}90%{color:#111827}}
@keyframes b1{0%{background:#2563EB;border-color:#2563EB}16%,88%{background:none;border-color:#9CA3AF}90%{background:#2563EB;border-color:#2563EB}}
@keyframes a2{0%{color:#6B7280}16%{color:#111827}54%{color:#6B7280}}
@keyframes b2{0%{background:none;border-color:#9CA3AF}16%{background:#2563EB;border-color:#2563EB}54%{background:none;border-color:#9CA3AF}}
@keyframes a3{0%{color:#6B7280}54%{color:#111827}88%{color:#6B7280}}
@keyframes b3{0%{background:none;border-color:#9CA3AF}54%{background:#2563EB;border-color:#2563EB}88%{background:none;border-color:#9CA3AF}}
}
@media (max-width:490px){.legend{display:none}} Characteristics
- Centred drag handle at the top
- Snap points at half and full height
- Backdrop dimming as the sheet rises
- Rounded top corners and an upward shadow
- Slight spring overshoot when snapping
Palette
Click a swatch to copy it
Typography
Headings · Plus Jakarta Sans Bottom sheet
Body · Plus Jakarta Sans A panel that rises from the bottom edge with a drag handle and settles at half or full height while the content behind dims. Codified by Material Design and iOS detents, it has become the standard way to show details without leaving the map or the list.
Motion
- Easing
spring (smorzamento 0,8–0,9) o cubic-bezier(0.32, 0.72, 0, 1)- Typical duration
- 300–500 ms tra un aggancio e l'altro; segue il dito durante il trascinamento
- Techniques
- transform translateY con pointer events, detent iOS (medium/large), Material BottomSheetBehavior, dialog HTML e CSS scroll-snap, Framer Motion drag con dragConstraints, Vaul
Accessibility (reduced motion)
The sheet appears and changes height with a short fade, no slide or bounce; it remains draggable.
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: Bottom sheet (Pannello dal basso). A panel that rises from the bottom edge with a drag handle and settles at half or full height while the content behind dims. Codified by Material Design and iOS detents, it has become the standard way to show details without leaving the map or the list. Characteristics: Centred drag handle at the top, Snap points at half and full height, Backdrop dimming as the sheet rises, Rounded top corners and an upward shadow, Slight spring overshoot when snapping. Palette: #FFFFFF, #111827, #E9EEF2, #2563EB, #F59E0B, #D1D5DB. Typography: headings in Plus Jakarta Sans, body text in Plus Jakarta Sans (Google Fonts or equivalents). Mood: tactile, clean, calm. Motion: easing spring (smorzamento 0,8–0,9) o cubic-bezier(0.32, 0.72, 0, 1), typical duration 300–500 ms tra un aggancio e l'altro; segue il dito durante il trascinamento; techniques: transform translateY con pointer events, detent iOS (medium/large), Material BottomSheetBehavior, dialog HTML e CSS scroll-snap, Framer Motion drag con dragConstraints, Vaul. With prefers-reduced-motion: The sheet appears and changes height with a short fade, no slide or bounce; it remains draggable. References: Material Design «Bottom sheets», Apple HIG «Sheets» (detent), Google Maps, Vaul.
Relations
Derives from
References
- Material Design «Bottom sheets»
- Apple HIG «Sheets» (detent)
- Google Maps
- Vaul