diff --git a/docs/components/tabs.md b/docs/components/tabs.md
index f99fcfdcbc..c70dee3c3e 100644
--- a/docs/components/tabs.md
+++ b/docs/components/tabs.md
@@ -30,12 +30,18 @@ Required prop, which is an array of tab objects with the following interface:
```ts
interface Tab {
- hash: string // has to be unique, corresponds to the panel slot name
+ hash: string
title: string
- disabled?: boolean
+ disabled?: boolean,
+ to?: string | object
}
```
+* `hash` - has to be unique, corresponds to the panel slot name
+* `title` - title to be displayed in the tab
+* `disabled` - whether or not tab is disabled
+* `to` - if present, tab will be rendered as either a `router-link` or an `a`
+
Tab 1 content
@@ -75,6 +81,45 @@ interface Tab {
```
+#### Tabs as links
+
+Passing the `to` property for each tab object enables rendering tabs as links. If a string is provided, it will be used as the `href` attribute in the rendered `a` element. If an object is provided, the tab will be rendered as a `router-link`.
+
+:::tip TIP
+When creating tab links, it is recommended to set the [`hidePanels` prop](#hidepanels) to `true`, as page changes typically do not involve the use of [`panel` slots](#slots).
+:::
+
+
+
+{{ linkTabValue }}
+
+```vue
+
+
+
+
+ {{ route.hash }}
+
+
+
+
+```
+
### v-model
KTabs will set the first tab in the `tabs` array as active. You can override this by passing in the hash of any other tab to be used with `v-model`.
@@ -176,41 +221,6 @@ const tabChange = (hash: string): void => {
```
-### anchorTabindex
-
-This prop allows setting a custom `tabindex` for the tab anchor element. It’s useful when passing a custom interactive element, like a link, through the [`anchor` slot](#anchor-panel), ensuring that only the slotted element is focusable by resetting the default anchor `tabindex`. Default value is `0`.
-
-#### Dynamic RouterView
-
-Here's an example (code only) of utilizing a dynamic `router-view` component within the host app:
-
-```html
-
-
-
- {{ tab.title }}
-
-
-
-
-
-