Tab

The tab component is used to organize and switch different content within the same area, supporting icon and counter display.

Features

  • Simple and easy-to-use API
  • Supports v-model two-way binding
  • Smooth transition animations
  • Dark mode support

Usage Examples

Basic Usage

Basic tab usage with v-model binding for the currently selected tab.

300px

Multiple Tab Styles

themeDocs.tabs.multiUsage

300px

Properties

PropertyBasic component module for translation keys shared across all component documentation pagesTypeDefault
modelValueThe currently active tab, supports v-model bindingstring
tabsTab configuration array, each option should include id, label, and optional iconArray<{key: string, label: string}>[]
Design Empowers, Innovation Unlimited