Hybrid Astro UI

A timeline-style component for visualizing sequential steps or processes. Perfect for onboarding flows, installation guides, and multi-step procedures. Features customizable icons, disabled states, and clean vertical layout.

Step 1: Sign Up

Create an account by providing your email and setting a password.

Step 2: Profile Setup

Fill in your personal details to complete your profile.

Step 3: Start Using the App

Explore features and start using the application to its full potential.

Step 4: Upgrade to Premium

Unlock additional features by upgrading to a premium plan.

Install

pnpm dlx hybrid-astro-ui@latest add workflow
npx hybrid-astro-ui@latest add workflow
yarn dlx hybrid-astro-ui@latest add workflow
bunx hybrid-astro-ui@latest add workflow

Usage

---
import { 
    Workflow, 
    WorkflowItem, 
    WorkflowTitle, 
    WorkflowDescription, 
    WorkflowContent 
} from "@/src/components/hybrid-astro-ui/workflow";

import User from "@lucide/astro/icons/user";
import Key from "@lucide/astro/icons/key";
import AppWindow from "@lucide/astro/icons/app-window";
import BadgeCheck from "@lucide/astro/icons/badge-check";
---
<Workflow>
  <WorkflowItem>
    <Key slot="wf-icon" />

    <WorkflowContent>
      <WorkflowTitle>Step 1: Sign Up</WorkflowTitle>
      <WorkflowDescription>
        Create an account by providing your email and setting a password.
      </WorkflowDescription>
    </WorkflowContent>
  </WorkflowItem>

  <WorkflowItem>
    <User slot="wf-icon" />

    <WorkflowContent>
      <WorkflowTitle>Step 2: Profile Setup</WorkflowTitle>
      <WorkflowDescription>
        Fill in your personal details to complete your profile.
      </WorkflowDescription>
    </WorkflowContent>
  </WorkflowItem>

  <WorkflowItem>
    <AppWindow slot="wf-icon" />

    <WorkflowContent>
      <WorkflowTitle>Step 3: Start Using the App</WorkflowTitle>
      <WorkflowDescription>
        Explore features and start using the application to its full potential.
      </WorkflowDescription>
    </WorkflowContent>
  </WorkflowItem>

  <WorkflowItem disabled>
    <BadgeCheck slot="wf-icon" />

    <WorkflowContent>
      <WorkflowTitle>Step 4: Upgrade to Premium</WorkflowTitle>
      <WorkflowDescription>
        Unlock additional features by upgrading to a premium plan.
      </WorkflowDescription>
    </WorkflowContent>
  </WorkflowItem>
</Workflow>

Props & Slots

Workflow


WorkflowItem

Slots


WorkflowContent


WorkflowTitle


WorkflowDescription