{
  "$schema": "https://next.0build.dev/schema/component.v1.json",
  "accessibility": {
    "aria": [],
    "notes": [
      "Mark the current page link with `aria-current=\"page\"`; the active class is applied by consumers or the accordion controller in nav mode.",
      "Nested sub-navs can be driven by `z-accordion` in nav mode (see the accordion recipes)."
    ]
  },
  "attributes": [],
  "category": "navigation",
  "children": [],
  "cssClasses": [
    {
      "appliesTo": ".z-nav",
      "class": ".z-dropdown-nav",
      "description": "Nav presentation used inside dropdowns.",
      "role": "element"
    },
    {
      "appliesTo": ".z-nav",
      "class": ".z-nav",
      "description": "Root class of the navigation list.",
      "role": "root"
    },
    {
      "appliesTo": ".z-nav",
      "class": ".z-nav-alt",
      "description": "Alternate item presentation with active background styling.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-nav",
      "class": ".z-nav-default",
      "description": "Default item presentation with padded, rounded links.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-nav",
      "class": ".z-nav-divider",
      "description": "Separator between nav sections.",
      "role": "element"
    },
    {
      "appliesTo": ".z-nav",
      "class": ".z-nav-header",
      "description": "Non-interactive section header inside the list.",
      "role": "element"
    },
    {
      "appliesTo": ".z-nav",
      "class": ".z-nav-parent-icon",
      "description": "Chevron icon on parent items, rotated while open.",
      "role": "element"
    },
    {
      "appliesTo": ".z-nav",
      "class": ".z-nav-sub",
      "description": "Nested sub-navigation list with an inline-start border.",
      "role": "element"
    },
    {
      "appliesTo": ".z-nav",
      "class": ".z-subnav",
      "description": "Horizontal sub-navigation bar.",
      "role": "element"
    },
    {
      "appliesTo": ".z-nav",
      "class": ".z-subnav-primary",
      "description": "Primary subnav presentation with active item styling.",
      "role": "modifier"
    }
  ],
  "cssVars": [
    {
      "affects": [
        "border-color"
      ],
      "default": "var(--z-border)",
      "description": "Dropdown divider base color, mixed with transparency using `--z-dropdown-nav-divider-border-color-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-dropdown-nav-divider-border-color",
      "scope": ".z-dropdown-nav",
      "syntax": ""
    },
    {
      "affects": [
        "border-color"
      ],
      "default": "var(--z-border-o)",
      "description": "Dropdown divider opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-dropdown-nav-divider-border-color-o",
      "scope": ".z-dropdown-nav",
      "syntax": ""
    },
    {
      "affects": [],
      "default": "1px",
      "description": "Border width of dropdown dividers.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-dropdown-nav-divider-border-width",
      "scope": ".z-dropdown-nav",
      "syntax": ""
    },
    {
      "affects": [],
      "default": "0",
      "description": "Margin of dropdown dividers.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-dropdown-nav-divider-margin",
      "scope": ".z-dropdown-nav",
      "syntax": ""
    },
    {
      "affects": [
        "margin"
      ],
      "default": "0.25rem",
      "description": "Margin of dropdown section headers.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-dropdown-nav-header-margin",
      "scope": ".z-dropdown-nav",
      "syntax": ""
    },
    {
      "affects": [
        "padding"
      ],
      "default": "0.375rem 0.25rem",
      "description": "Padding of dropdown section headers.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-dropdown-nav-header-padding",
      "scope": ".z-dropdown-nav",
      "syntax": ""
    },
    {
      "affects": [],
      "default": "600",
      "description": "Font weight of dropdown section headers.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-dropdown-nav-header-weight",
      "scope": ".z-dropdown-nav",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-accent)",
      "description": "Dropdown hover background base color, mixed with transparency using `--z-dropdown-nav-item-hover-bg-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-dropdown-nav-item-hover-bg",
      "scope": ".z-dropdown-nav",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-accent-o)",
      "description": "Dropdown hover background opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-dropdown-nav-item-hover-bg-o",
      "scope": ".z-dropdown-nav",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-accent-f)",
      "description": "Dropdown hover text base color, mixed with transparency using `--z-dropdown-nav-item-hover-color-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-dropdown-nav-item-hover-color",
      "scope": ".z-dropdown-nav",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Dropdown hover text opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-dropdown-nav-item-hover-color-o",
      "scope": ".z-dropdown-nav",
      "syntax": ""
    },
    {
      "affects": [
        "margin"
      ],
      "default": "0.25rem",
      "description": "Margin between dropdown nav items.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-dropdown-nav-item-margin",
      "scope": ".z-dropdown-nav",
      "syntax": ""
    },
    {
      "affects": [
        "padding"
      ],
      "default": "0.375rem 0.25rem",
      "description": "Padding of dropdown nav item links.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-dropdown-nav-item-padding",
      "scope": ".z-dropdown-nav",
      "syntax": ""
    },
    {
      "affects": [
        "border-color"
      ],
      "default": "var(--z-border)",
      "description": "Divider base color, mixed with transparency using `--z-nav-divider-color-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-divider-color",
      "scope": ".z-nav-divider",
      "syntax": ""
    },
    {
      "affects": [
        "border-color"
      ],
      "default": "var(--z-border-o)",
      "description": "Divider opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-divider-color-o",
      "scope": ".z-nav-divider",
      "syntax": ""
    },
    {
      "affects": [
        "margin"
      ],
      "default": "var(--z-nav-item-margin)",
      "description": "Margin of section headers.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-header-margin",
      "scope": ".z-nav-header",
      "syntax": ""
    },
    {
      "affects": [
        "padding"
      ],
      "default": "var(--z-nav-item-padding)",
      "description": "Padding of section headers.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-header-padding",
      "scope": ".z-nav-header",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-primary)",
      "description": "Active background base color, mixed with transparency using `--z-nav-item-active-bg-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-active-bg",
      "scope": ".z-nav-alt",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "100%",
      "description": "Active background opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-active-bg-o",
      "scope": ".z-nav-alt",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-primary-f)",
      "description": "Active text base color, mixed with transparency using `--z-nav-item-active-color-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-active-color",
      "scope": ".z-nav-alt",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Active text opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-active-color-o",
      "scope": ".z-nav-alt",
      "syntax": ""
    },
    {
      "affects": [
        "font-weight"
      ],
      "default": "400",
      "description": "Font weight of the active item.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-active-font-weight",
      "scope": ".z-nav-alt",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-nav-item-active-bg)",
      "description": "Item background base color, mixed with transparency using `--z-nav-item-bg-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-bg",
      "scope": ".z-nav-alt > li.z-active",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-nav-item-active-bg-o)",
      "description": "Item background opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-bg-o",
      "scope": ".z-nav-alt > li.z-active",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-muted-f)",
      "description": "Item text base color, mixed with transparency using `--z-nav-item-color-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-color",
      "scope": ".z-nav",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Item text opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-color-o",
      "scope": ".z-nav",
      "syntax": ""
    },
    {
      "affects": [],
      "default": "500",
      "description": "Font weight of nav item links.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-font-weight",
      "scope": ".z-nav-default > li.z-active",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-accent)",
      "description": "Hover background base color, mixed with transparency using `--z-nav-item-hover-bg-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-hover-bg",
      "scope": ".z-nav-alt",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "4%",
      "description": "Hover background opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-hover-bg-o",
      "scope": ".z-nav-alt",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-bg-f)",
      "description": "Hover text base color, mixed with transparency using `--z-nav-item-hover-color-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-hover-color",
      "scope": ".z-nav",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Hover text opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-hover-color-o",
      "scope": ".z-nav",
      "syntax": ""
    },
    {
      "affects": [
        "margin"
      ],
      "default": "0",
      "description": "Margin between nav items.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-margin",
      "scope": ".z-nav",
      "syntax": ""
    },
    {
      "affects": [
        "padding"
      ],
      "default": "0.25rem 0.5rem",
      "description": "Padding of nav item links.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-item-padding",
      "scope": ".z-nav",
      "syntax": ""
    },
    {
      "affects": [
        "border-radius"
      ],
      "default": "var(--z-global-radius)",
      "description": "Corner radius of nav items.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-radius",
      "scope": ".z-nav",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-primary)",
      "description": "Active sub-nav background base color, mixed with transparency using `--z-nav-sub-active-bg-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-sub-active-bg",
      "scope": ".z-nav-sub",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "100%",
      "description": "Active sub-nav background opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-sub-active-bg-o",
      "scope": ".z-nav-sub",
      "syntax": ""
    },
    {
      "affects": [
        "border-color",
        "border-inline-start-color"
      ],
      "default": "var(--z-border)",
      "description": "Sub-nav border base color, mixed with transparency using `--z-nav-sub-border-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-sub-border",
      "scope": ".z-nav-sub, .z-nav-sub ul",
      "syntax": ""
    },
    {
      "affects": [
        "border-color",
        "border-inline-start-color"
      ],
      "default": "var(--z-border-o)",
      "description": "Sub-nav border opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-sub-border-o",
      "scope": ".z-nav-sub, .z-nav-sub ul",
      "syntax": ""
    },
    {
      "affects": [
        "border-inline-start-width",
        "inset-inline-start",
        "width"
      ],
      "default": "1px",
      "description": "Sub-nav inline-start border width.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-sub-border-w",
      "scope": ".z-nav",
      "syntax": ""
    },
    {
      "affects": [
        "margin"
      ],
      "default": "0",
      "description": "Margin between sub-nav items.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-sub-item-margin",
      "scope": ".z-nav",
      "syntax": ""
    },
    {
      "affects": [
        "padding"
      ],
      "default": "0.25rem 0.5rem",
      "description": "Padding of sub-nav item links.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-nav-sub-item-padding",
      "scope": ".z-nav",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-primary)",
      "description": "Active subnav background base color, mixed with transparency using `--z-subnav-item-active-background-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-subnav-item-active-background",
      "scope": ".z-subnav-primary",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "100%",
      "description": "Active subnav background opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-subnav-item-active-background-o",
      "scope": ".z-subnav-primary",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-primary-f)",
      "description": "Active subnav text base color, mixed with transparency using `--z-subnav-item-active-color-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-subnav-item-active-color",
      "scope": ".z-subnav-primary",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Active subnav text opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-subnav-item-active-color-o",
      "scope": ".z-subnav-primary",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-primary)",
      "description": "Active-hover subnav background base color, mixed with transparency using `--z-subnav-item-active-hover-background-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-subnav-item-active-hover-background",
      "scope": ".z-subnav-primary",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "80%",
      "description": "Active-hover subnav background opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-subnav-item-active-hover-background-o",
      "scope": ".z-subnav-primary",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-primary-f)",
      "description": "Active-hover subnav text base color, mixed with transparency using `--z-subnav-item-active-hover-color-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-subnav-item-active-hover-color",
      "scope": ".z-subnav-primary",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Active-hover subnav text opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-subnav-item-active-hover-color-o",
      "scope": ".z-subnav-primary",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-muted-f)",
      "description": "Subnav text base color, mixed with transparency using `--z-subnav-item-color-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-subnav-item-color",
      "scope": ".z-subnav > * > :first-child",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Subnav text opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-subnav-item-color-o",
      "scope": ".z-subnav > * > :first-child",
      "syntax": ""
    },
    {
      "affects": [
        "height"
      ],
      "default": "auto",
      "description": "Height of subnav items.",
      "file": "src/css/kit-components/nav.css",
      "kind": "hook",
      "name": "--z-subnav-item-height",
      "scope": ".z-subnav > * > :first-child",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-primary)",
      "description": "Subnav hover text base color, mixed with transparency using `--z-subnav-item-hover-color-o`.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-subnav-item-hover-color",
      "scope": ".z-subnav > * > :first-child",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Subnav hover text opacity percentage used in the mix.",
      "file": "src/css/kit-components/nav.css",
      "kind": "base",
      "name": "--z-subnav-item-hover-color-o",
      "scope": ".z-subnav > * > :first-child",
      "syntax": ""
    },
    {
      "affects": [
        "padding"
      ],
      "default": "0 1rem",
      "description": "Padding of subnav items.",
      "file": "src/css/kit-components/nav.css",
      "kind": "hook",
      "name": "--z-subnav-item-padding",
      "scope": ".z-subnav > * > :first-child",
      "syntax": ""
    }
  ],
  "dataHooks": [],
  "events": [],
  "i18n": [],
  "icons": [],
  "id": "nav",
  "inherits": [],
  "keyboard": [],
  "kind": "css",
  "methods": [],
  "notes": [
    "Nav is a CSS layer: structure is a `ul`/`li` list with links; headers use `.z-nav-header`, dividers `.z-nav-divider`.",
    "`.z-dropdown-nav` is the presentation used inside `z-drop` dropdowns."
  ],
  "parts": {
    "defaultClsTarget": null,
    "defaultStlTarget": null,
    "items": []
  },
  "recipes": [],
  "related": [
    "accordion",
    "drop",
    "pagination"
  ],
  "schemaVersion": 1,
  "sources": {
    "css": [
      "src/css/kit-components/nav.css"
    ],
    "cssSelectors": [
      ".z-nav",
      ".z-nav-*",
      ".z-subnav",
      ".z-subnav-*",
      ".z-dropdown-nav",
      ".z-dropdown-nav-*"
    ],
    "ts": null
  },
  "summary": "Vertical and horizontal navigation lists with headers, dividers, nested sub-navs, and dropdown/subnav presentations.",
  "tag": null,
  "title": "Nav"
}
