label | string | - | Visible text. Becomes the accessible name in icon-only mode. |
href | string | - | Renders a link when set and the item is not disabled. |
as | NavLinkComponent | 'a' | Link root, for example RouterLink. |
target | string | - | Link target. _blank also adds noopener noreferrer. |
rel | string | - | Link rel. |
isSelected | boolean | false | Current page. Sets aria-current="page". |
isDisabled | boolean | false | Renders a button that is removed from tab order. |
size | 'sm' | 'md' | 'lg' | 'md' | Height and padding. |
iconClass | string | - | CSS icon class, such as i-carbon-home. |
selectedIconClass | string | - | Replaces iconClass while selected. |
isIconOnly | boolean | false | Shows the icon only. The label stays for assistive tech. |
block | boolean | false | Stretches to the row width. |
plain | boolean | false | Drops the item chrome so a parent can paint it. |
expanded | boolean | - | Whether a nested group is open. Omitted when unset. |
controls | string | - | Id written to aria-controls. |
hasPopup | string | - | Popup type written to aria-haspopup. |