{
  "id": "outline-button-group",
  "name": "Outline Button Group",
  "category": "buttons",
  "tags": [
    "joined",
    "toolbar",
    "calendar",
    "attached",
    "actions"
  ],
  "description": "A row of joined outline buttons that share borders, ideal for calendar or pager controls.",
  "url": "https://copy-css.com/snippets/outline-button-group",
  "markdown": "https://copy-css.com/snippets/outline-button-group.md",
  "html": "<div class=\"btn-group\" role=\"group\" aria-label=\"Calendar navigation\">\n  <button type=\"button\" aria-label=\"Previous month\">‹</button>\n  <button type=\"button\">Today</button>\n  <button type=\"button\" aria-label=\"Next month\">›</button>\n</div>",
  "css": ".btn-group {\n  display: inline-flex;\n}\n\n.btn-group button {\n  min-width: 44px;\n  padding: 10px 16px;\n  border: 1px solid #d4d4d8;\n  background: #fff;\n  color: #27272a;\n  font: 600 15px/1 system-ui, sans-serif;\n  cursor: pointer;\n  transition: background-color 0.15s ease;\n}\n\n/* Overlap the borders so they look like one line */\n.btn-group button + button {\n  margin-left: -1px;\n}\n\n.btn-group button:first-child {\n  border-radius: 10px 0 0 10px;\n}\n\n.btn-group button:last-child {\n  border-radius: 0 10px 10px 0;\n}\n\n.btn-group button:hover {\n  background: #f4f4f5;\n}\n\n.btn-group button:focus-visible {\n  position: relative;\n  z-index: 1;\n  outline: 2px solid #2563eb;\n  outline-offset: -1px;\n}",
  "features": [
    "transitions",
    "Flexbox",
    "keyboard focus styles"
  ],
  "customProperties": []
}
