NAV-ITEM
Source: design-system/, styled by design-system/. React Server Component, zero client JavaScript.
Props
| Prop | Type | Default | Required |
|---|---|---|---|
Prophref | Typestring | Defaultnone | Requiredyes |
Proplabel | TypeReactNode | Defaultnone | Requiredyes |
Propindex | Typestring | Defaultnone | Requiredno |
Propcurrent | Typeboolean | Defaultfalse | Requiredno |
Every other anchor attribute passes through.
Accessibility
current sets aria-current="location". index is decorative and hidden from assistive technology.