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/timeline.md
1# Timeline23A component that displays a sequence of events with dates, titles, icons or avatars.45## Key Props67- `items`: as an array of objects with the following properties:89- `date?: string`{lang="ts-type"}10- `title?: string`{lang="ts-type"}11- `description?: AvatarProps`{lang="ts-type"}12- `icon?: string`{lang="ts-type"}13- `avatar?: AvatarProps`{lang="ts-type"}14- `value?: string | number`{lang="ts-type"}15- [`slot?: string`{lang="ts-type"}](#with-custom-slot)16- `class?: any`{lang="ts-type"}17- `ui?: { item?: ClassNameValue, container?: ClassNameValue, indicator?: ClassNameValue, separator?: ClassNameValue, wrapper?: ClassNameValue, date?: ClassNameValue, title?: ClassNameValue, description?: ClassNameValue }`{lang="ts-type"}1819## ::component-code2021ignore:2223- items24- class25- defaultValue26external:27- items28externalTypes:29- TimelineItem[]30props:31defaultValue: 232items: - date: 'Mar 15, 2025'33title: 'Project Kickoff'34description: 'Kicked off the project with team alignment.35- `color`: to change the color of the active items in a Timeline.36- `size`: to change the size of the Timeline.37- `orientation`: to change the orientation of the Timeline.38- `ui`: to create a Timeline with alternating layout.39- `slot`:4041## Events4243- `@select`: Emitted when an item is selected (v4.4+)4445## Usage4647```vue48<UTimeline49:items="items"50@select="handleSelect"51/>52```53