mirror of
https://github.com/directus/directus.git
synced 2026-04-03 03:00:39 -04:00
Tab
Individual tab. To be used inside a v-tabs context.
Usage
<v-tabs>
<v-tab>Schema</v-tab>
<v-tab>Options</v-tab>
</v-tabs>
Props
| Prop | Description | Default |
|---|---|---|
disabled |
Disable the tab | false |
value |
A custom value to be used in the selection of v-tabs |
Events
n/a
Slots
| Slot | Description | Data |
|---|---|---|
| default | { active: boolean, toggle: () => void; } |
CSS Variables
| Variable | Default |
|---|---|
--v-tab-color |
var(--foreground-normal) |
--v-tab-background-color |
var(--background-page) |
--v-tab-color-active |
var(--foreground-normal) |
--v-tab-background-color-active |
var(--background-page) |