Skip to main content

Tabs

About 168 wordsLess than 1 minute

Tabs

Props

PropTypeRequiredDescription
tabsTab[]YesArray of tab objects: { name: string; slotName: string }
modelValuenumberNoCurrently active tab index (for v-model)

Emits

EventPayloadDescription
update:modelValuenumberEmitted when active tab changes (for v-model sync)
changenumberEmitted when active tab changes

installation

import { FgTabs } from 'fadgram-vue'

Usage

Preview
Welcome to the home tab!