Composite
ItemsTimeline
A vertical sequence of items joined by connector lines.
The ItemsTimeline component displays items in a vertical timeline format with connecting lines, perfect for steps, processes, roadmaps, and chronological content.
Vertical Timeline (Default)
Classic vertical timeline with solid connectors and normal spacing.
Step 1: Download
Kickstart with GitHub! Either fork the Super template or simply click 'Use this template'. Your canvas awaits, ready for your digital masterpiece.
Step 2: Add content
Pour your vision into it. Add images, text, and all that jazz to breathe life into your digital space. Remember, it's the content that tells your story.
Step 3: Customize styles
Give it your personal touch. Tailor colors, fonts, and layouts until it feels just right. Your unique flair, amplified by Super!
Ready!
Your site is live and ready to share with the world. Time to celebrate!
---
import ItemsTimeline from '@alfadormx/blocks/composite/ItemsTimeline.astro';
---
<ItemsTimeline
items={[
{
icon: { name: 'heroicons:arrow-down-tray', class: 'text-primary' },
title: 'Step 1: Download',
content:
"Kickstart with GitHub! Either fork the Super template or simply click 'Use this template'. Your canvas awaits, ready for your digital masterpiece.",
},
{
icon: { name: 'heroicons:pencil-square', class: 'text-secondary' },
title: 'Step 2: Add content',
content:
"Pour your vision into it. Add images, text, and all that jazz to breathe life into your digital space. Remember, it's the content that tells your story.",
},
{
icon: { name: 'heroicons:paint-brush', class: 'text-accent' },
title: 'Step 3: Customize styles',
content:
'Give it your personal touch. Tailor colors, fonts, and layouts until it feels just right. Your unique flair, amplified by Super!',
},
{
icon: { name: 'heroicons:check-circle', class: 'text-success' },
title: 'Ready!',
content: 'Your site is live and ready to share with the world. Time to celebrate!',
},
]}
/>Vertical Timeline - Tight Spacing
Compact timeline with reduced spacing between items.
Sign Up
Create your account in seconds.
Verify Email
Check your inbox for verification link.
Setup Profile
Customize your profile and preferences.
Get Started
Start using all features immediately.
---
import ItemsTimeline from '@alfadormx/blocks/composite/ItemsTimeline.astro';
---
<ItemsTimeline
gap="tight"
items={[
{
icon: { name: 'heroicons:user-plus', class: 'text-primary' },
title: 'Sign Up',
content: 'Create your account in seconds.',
},
{
icon: { name: 'heroicons:envelope', class: 'text-secondary' },
title: 'Verify Email',
content: 'Check your inbox for verification link.',
},
{
icon: { name: 'heroicons:cog-6-tooth', class: 'text-accent' },
title: 'Setup Profile',
content: 'Customize your profile and preferences.',
},
{
icon: { name: 'heroicons:rocket-launch', class: 'text-success' },
title: 'Get Started',
content: 'Start using all features immediately.',
},
]}
/>Vertical Timeline - Dashed Connectors
Timeline with dashed connector lines for a different visual style.
Ideation
Brainstorm and conceptualize your project vision.
Planning
Create detailed roadmaps and specifications.
Development
Build and iterate on your product.
Launch
Deploy to production and go live!
---
import ItemsTimeline from '@alfadormx/blocks/composite/ItemsTimeline.astro';
---
<ItemsTimeline
connectorStyle="dashed"
items={[
{
icon: { name: 'heroicons:light-bulb', class: 'text-warning' },
title: 'Ideation',
content: 'Brainstorm and conceptualize your project vision.',
},
{
icon: { name: 'heroicons:pencil', class: 'text-info' },
title: 'Planning',
content: 'Create detailed roadmaps and specifications.',
},
{
icon: { name: 'heroicons:code-bracket', class: 'text-primary' },
title: 'Development',
content: 'Build and iterate on your product.',
},
{
icon: { name: 'heroicons:paper-airplane', class: 'text-success' },
title: 'Launch',
content: 'Deploy to production and go live!',
},
]}
/>Vertical Timeline with Actions
Timeline items can include action buttons.
Learn the Basics
Get familiar with fundamental concepts and core features.
Practice
Apply your knowledge through hands-on exercises and examples.
Master
Become proficient through advanced techniques and patterns.
---
import ItemsTimeline from '@alfadormx/blocks/composite/ItemsTimeline.astro';
---
<ItemsTimeline
gap="loose"
items={[
{
icon: { name: 'heroicons:book-open', class: 'text-primary' },
title: 'Learn the Basics',
content: 'Get familiar with fundamental concepts and core features.',
actions: [{ label: 'Start Tutorial', intent: 'primary' }],
},
{
icon: { name: 'heroicons:beaker', class: 'text-accent' },
title: 'Practice',
content: 'Apply your knowledge through hands-on exercises and examples.',
actions: [{ label: 'View Examples', intent: 'accent' }],
},
{
icon: { name: 'heroicons:trophy', class: 'text-warning' },
title: 'Master',
content: 'Become proficient through advanced techniques and patterns.',
actions: [{ label: 'Advanced Guide', intent: 'secondary' }],
},
]}
/>Dotted Connectors
Timeline with dotted connector style for subtle visual effect.
Q1 2024
Initial release with core features.
Q2 2024
Mobile app launch and API improvements.
Q3 2024
Advanced analytics and integrations.
---
import ItemsTimeline from '@alfadormx/blocks/composite/ItemsTimeline.astro';
---
<ItemsTimeline
connectorStyle="dotted"
gap="loose"
items={[
{
icon: { name: 'heroicons:calendar', class: 'text-info' },
title: 'Q1 2024',
content: 'Initial release with core features.',
},
{
icon: { name: 'heroicons:calendar', class: 'text-info' },
title: 'Q2 2024',
content: 'Mobile app launch and API improvements.',
},
{
icon: { name: 'heroicons:calendar', class: 'text-info' },
title: 'Q3 2024',
content: 'Advanced analytics and integrations.',
},
]}
/>API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| items | TimelineItemProps[] | [] | The list of items rendered as timeline entries, each displayed via the Item component. |
| connectorStyle | ConnectorStyle | 'solid' | The connector line style drawn between timeline items, applied to every item except the last (default: 'solid'). |
| gap | 'none' | 'tight' | 'normal' | 'loose' | 'normal' | The vertical spacing between timeline items, controlling the bottom padding applied to each item's content (default: 'normal'). |
| class | string | '' | Additional CSS classes merged onto the timeline's outer container element (default: ''). |
| defaultItemConfig | LayerConfig<TimelineItemProps> | — | Default Item props merged into every timeline item before its own item-specific values are applied. |