# Bottom Sheet Menu

> A mobile menu that slides up from the bottom of the screen as a sheet with a dimmed backdrop.

- Category: [CSS Navigation](https://copy-css.com/category/navigation)
- Tags: mobile menu, sheet, details, backdrop, thumb friendly
- Live preview: https://copy-css.com/snippets/bottom-sheet-menu
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<details class="sheet-menu">
  <summary>Menu</summary>
  <nav aria-label="Main">
    <a href="#">Home</a>
    <a href="#">Orders</a>
    <a href="#">Saved</a>
    <a href="#">Account</a>
  </nav>
</details>
```

## CSS

```css
.sheet-menu summary {
  position: relative;
  z-index: 11;
  padding: 10px 20px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font: 600 14px system-ui, sans-serif;
  list-style: none;
  cursor: pointer;
}

.sheet-menu summary::-webkit-details-marker {
  display: none;
}

.sheet-menu summary:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

/* The huge spread shadow doubles as the backdrop */
.sheet-menu nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: grid;
  gap: 2px;
  padding: 28px 16px 20px;
  border-radius: 20px 20px 0 0;
  background: #ffffff;
  box-shadow: 0 0 0 100vmax #0f172a66;
  animation: sheet-menu-up 0.35s cubic-bezier(0.3, 0.7, 0.4, 1);
}

/* Grab handle */
.sheet-menu nav::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 40px;
  height: 4px;
  margin-left: -20px;
  border-radius: 4px;
  background: #cbd5e1;
}

.sheet-menu nav a {
  padding: 12px 14px;
  border-radius: 10px;
  color: #0f172a;
  font: 500 16px system-ui, sans-serif;
  text-decoration: none;
}

.sheet-menu nav a:hover {
  background: #f1f5f9;
}

.sheet-menu nav a:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: -2px;
}

@keyframes sheet-menu-up {
  from { transform: translateY(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .sheet-menu nav { animation: none; }
}
```

## Notes

- This CSS Bottom Sheet Menu is 74 lines of pure CSS (1.4 KB) with no JavaScript and no dependencies. It uses keyframe animations, transforms, box shadows and CSS Grid.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
