Basic Components
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
Property | Basic component module for translation keys shared across all component documentation pages | Type | Default |
---|---|---|---|
modelValue | The currently active tab, supports v-model binding | string | |
tabs | Tab configuration array, each option should include id, label, and optional icon | Array<{key: string, label: string}> | [] |
Design Empowers, Innovation Unlimited