{
  "id": "vertical-nav",
  "name": "Vertical Side Nav",
  "category": "navigation",
  "tags": [
    "sidebar",
    "menu",
    "vertical",
    "active",
    "dashboard"
  ],
  "description": "A dashboard side menu with an accent bar on the active item.",
  "url": "https://copy-css.com/snippets/vertical-nav",
  "markdown": "https://copy-css.com/snippets/vertical-nav.md",
  "html": "<nav class=\"side-nav\" aria-label=\"Main\">\n  <a href=\"#\" aria-current=\"page\">Dashboard</a>\n  <a href=\"#\">Projects</a>\n  <a href=\"#\">Team</a>\n  <a href=\"#\">Settings</a>\n</nav>",
  "css": ".side-nav {\n  display: grid;\n  gap: 2px;\n  width: 180px;\n  padding: 8px;\n  border-radius: 14px;\n  background: #fff;\n  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);\n  font: 500 14px/1 system-ui, sans-serif;\n}\n\n.side-nav a {\n  position: relative;\n  padding: 10px 14px;\n  border-radius: 8px;\n  color: #475569;\n  text-decoration: none;\n  transition: background 0.15s ease, color 0.15s ease;\n}\n\n.side-nav a:hover {\n  background: #f1f5f9;\n  color: #0f172a;\n}\n\n.side-nav a[aria-current=\"page\"] {\n  background: #eef2ff;\n  color: #4338ca;\n  font-weight: 600;\n}\n\n.side-nav a[aria-current=\"page\"]::before {\n  content: \"\";\n  position: absolute;\n  top: 8px;\n  bottom: 8px;\n  left: 0;\n  width: 3px;\n  border-radius: 0 3px 3px 0;\n  background: #4f46e5;\n}",
  "features": [
    "transitions",
    "box shadows",
    "CSS Grid"
  ],
  "customProperties": []
}
