Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Reference for Nuxt UI v4 (125+ components built on Reka UI + Tailwind CSS v4) including forms, overlays, and theming.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
components/tabs.md
1# Tabs23A set of tab panels that are displayed one at a time.45> Based on [Reka UI Tabs](https://reka-ui.com/docs/components/tabs)67## Key Props89- `items`: as an array of objects with the following properties:1011- `label?: string`{lang="ts-type"}12- `icon?: string`{lang="ts-type"}13- `avatar?: AvatarProps`{lang="ts-type"}14- `badge?: string | number | BadgeProps`{lang="ts-type"}15- `content?: string`{lang="ts-type"}16- `value?: string | number`{lang="ts-type"}17- `disabled?: boolean`{lang="ts-type"}18- [`slot?: string`{lang="ts-type"}](#with-custom-slot)19- `class?: any`{lang="ts-type"}20- `ui?: { trigger?: ClassNameValue, leadingIcon?: ClassNameValue, leadingAvatar?: ClassNameValue, leadingAvatarSize?: ClassNameValue, label?: ClassNameValue, trailingBadge?: ClassNameValue, trailingBadgeSize?: ClassNameValue, content?: ClassNameValue }`{lang="ts-type"}2122## ::component-code2324ignore:2526- items27- class28external:29- items30externalTypes:31- TabsItem[]32props:33items: - label: Account34icon: 'i-lucide-user'35content: 'This is the account content.36- `color`: to change the color of the Tabs.37- `variant`: to change the variant of the Tabs.38- `size`: to change the size of the Tabs.39- `orientation`: to change the orientation of the Tabs.40- `slot`:4142## Usage4344```vue45<UTabs46<!-- props here -->47/>48```4950## Slots5152- `#content`53