# Timeline Category Skills

> A vertical timeline of roles and projects with skills tagged per entry. Maps your career history and the abilities you used at each step you took.

A shadcn/ui block from the [@shadcn-ui-blocks](https://www.shadcn-ui-blocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcn-ui-blocks/portfolio-portfolio-about-and-skills-timeline-category-skills).

- Page, with a live preview: https://shadcn.exchange/r/shadcn-ui-blocks/portfolio-portfolio-about-and-skills-timeline-category-skills
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcn-ui-blocks/portfolio-portfolio-about-and-skills-timeline-category-skills-light-3260988236521aaa.png
- Registry item: https://www.shadcn-ui-blocks.com/r/portfolio-portfolio-about-and-skills-timeline-category-skills.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://www.shadcn-ui-blocks.com/r/portfolio-portfolio-about-and-skills-timeline-category-skills.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- npm packages: `class-variance-authority`, `lucide-react`, `radix-ui`

## Files

### `components/blocks/portfolio/portfolio-about-and-skills/timeline-category-skills.tsx`

```tsx
import { Badge } from '@/components/ui/badge';
import { Button } from '@/components/ui/button';
import { Progress } from '@/components/ui/progress';
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';
import { cn } from '@/lib/utils';
import {
  ArrowRight,
  BookOpen,
  BriefcaseBusiness,
  Code,
  Download,
  Fingerprint,
  Layers,
  Palette,
  Sparkles,
} from 'lucide-react';

import { useState } from 'react';

// Timeline data
const timelineEvents = [
  {
    id: 1,
    year: '2021',
    title: 'Senior Full Stack Developer',
    subtitle: 'TechVision Labs',
    description:
      'Leading development of cloud-based enterprise applications for financial services clients',
    icon: <BriefcaseBusiness className="h-5 w-5" />,
    category: 'work',
  },
  {
    id: 2,
    year: '2020',
    title: 'AWS Solutions Architect Certification',
    subtitle: 'Amazon Web Services',
    description:
      'Deepened cloud architecture expertise and implemented solution architecture for enterprise systems',
    icon: <BookOpen className="h-5 w-5" />,
    category: 'education',
  },
  {
    id: 3,
    year: '2018',
    title: 'Frontend Developer',
    subtitle: 'DataSphere Inc.',
    description:
      'Created interactive data visualizations and responsive interfaces for business intelligence platform',
    icon: <BriefcaseBusiness className="h-5 w-5" />,
    category: 'work',
  },
  {
    id: 4,
    year: '2016',
    title: 'Full Stack Development Bootcamp',
    subtitle: 'Tech Academy',
    description:
      'Intensive 16-week program focused on modern JavaScript frameworks and backend technologies',
    icon: <BookOpen className="h-5 w-5" />,
    category: 'education',
  },
  {
    id: 5,
    year: '2014',
    title: 'Junior Web Developer',
    subtitle: 'Creative Digital Agency',
    description:
      'Built responsive websites and CMS implementations for small businesses and startups',
    icon: <BriefcaseBusiness className="h-5 w-5" />,
    category: 'work',
  },
  {
    id: 6,
    year: '2012',
    title: 'B.S. Computer Science',
    subtitle: 'University of California, Berkeley',
    description:
      'Graduated with honors, specializing in software engineering and human-computer interaction',
    icon: <BookOpen className="h-5 w-5" />,
    category: 'education',
  },
];

// Skills by category
const skillsCategories = [
  {
    id: 'development',
    name: 'Development',
    icon: <Code className="h-5 w-5 text-blue-500" />,
    skills: [
      { name: 'JavaScript/TypeScript', level: 90 },
      { name: 'React & React Native', level: 85 },
      { name: 'Node.js', level: 80 },
      { name: 'Next.js', level: 90 },
      { name: 'GraphQL & REST APIs', level: 85 },
      { name: 'Testing & CI/CD', level: 75 },
    ],
  },
  {
    id: 'design',
    name: 'Design',
    icon: <Palette className="h-5 w-5 text-purple-500" />,
    skills: [
      { name: 'UI/UX Design', level: 80 },
      { name: 'Figma & Adobe XD', level: 85 },
      { name: 'Responsive Design', level: 90 },
      { name: 'Design Systems', level: 75 },
      { name: 'Wireframing', level: 85 },
      { name: 'Visual Hierarchy', level: 80 },
    ],
  },
  {
    id: 'architecture',
    name: 'Architecture',
    icon: <Layers className="h-5 w-5 text-orange-500" />,
    skills: [
      { name: 'System Design', level: 80 },
      { name: 'Cloud Services (AWS)', level: 85 },
      { name: 'Microservices', level: 75 },
      { name: 'Database Design', level: 80 },
      { name: 'Security Practices', level: 70 },
      { name: 'Scalability Patterns', level: 75 },
    ],
  },
];

// Function to get level label
function getSkillLevelLabel(level: number) {
  if (level >= 90) return 'Expert';
  if (level >= 80) return 'Advanced';
  if (level >= 70) return 'Proficient';
  if (level >= 50) return 'Intermediate';
  return 'Beginner';
}

// Function to get color class based on level
function getSkillColorClass(level: number) {
  if (level >= 90) return 'bg-green-500';
  if (level >= 80) return 'bg-blue-500';
  if (level >= 70) return 'bg-indigo-500';
  if (level >= 60) return 'bg-amber-500';
  return 'bg-slate-500';
}

export default function TimelineCategorySkills() {
  const [activeCategory, setActiveCategory] = useState('development');
  const [hoveredSkill, setHoveredSkill] = useState<string | null>(null);

  return (
    <div className="bg-background py-16 md:py-24">
      <div className="container mx-auto px-4 2xl:max-w-[1400px]">
        <div className="mb-12 text-center">
          <Badge
            variant="outline"
            className="border-primary/30 text-primary mx-auto px-3 py-1 text-xs font-medium tracking-wide uppercase"
          >
            Journey & Expertise
          </Badge>
          <h2 className="mt-2 text-3xl font-bold tracking-tight sm:text-4xl md:text-5xl">
            My Path & Skills
          </h2>
          <p className="text-muted-foreground mx-auto mt-4 max-w-2xl">
            Explore my professional journey and the skills I&apos;ve developed
            along the way
          </p>
        </div>

        <div className="grid gap-8 lg:grid-cols-2">
          {/* Timeline Column */}
          <div>
            <div className="mb-6 flex items-center gap-2">
              <Fingerprint className="text-primary h-5 w-5" />
              <h3 className="text-2xl font-bold">Career Journey</h3>
            </div>

            {/* Vertical Timeline */}
            <div className="border-primary/20 relative ml-[50px] border-l-2 pt-2 pl-6">
              {timelineEvents.map((event, index) => (
                <div
                  key={event.id}
                  className={`relative mb-12 last:mb-0 ${index === 0 ? 'pt-0' : 'pt-2'}`}
                >
                  {/* Timeline node */}
                  <div
                    className={cn(
                      'border-background absolute -left-[42px] flex h-8 w-8 items-center justify-center rounded-full border-2',
                      event.category === 'work' ? 'bg-blue-500' : 'bg-amber-500'
                    )}
                  >
                    {event.icon}
                  </div>

                  {/* Year badge */}
                  <div className="absolute -top-2 -left-[30px] -translate-x-full">
                    <Badge
                      variant="outline"
                      className={cn(
                        'font-mono text-xs',
                        event.category === 'work'
                          ? 'border-blue-200 bg-blue-50 text-blue-700 dark:bg-blue-950/30 dark:text-blue-400'
                          : 'border-amber-200 bg-amber-50 text-amber-700 dark:bg-amber-950/30 dark:text-amber-400'
                      )}
                    >
                      {event.year}
                    </Badge>
                  </div>

                  {/* Content */}
                  <div className="group bg-card hover:border-primary/50 rounded-lg border p-4 shadow-sm transition-all hover:shadow-md">
                    <h4 className="text-lg font-semibold">{event.title}</h4>
                    <p className="text-primary text-sm font-medium">
                      {event.subtitle}
                    </p>
                    <p className="text-muted-foreground mt-2 text-sm">
                      {event.description}
                    </p>
                  </div>
                </div>
              ))}
            </div>
          </div>

          {/* Skills Column */}
          <div>
            <div className="mb-6 flex items-center gap-2">
              <Sparkles className="text-primary h-5 w-5" />
              <h3 className="text-2xl font-bold">Skills by Category</h3>
            </div>

            <Tabs
              value={activeCategory}
              onValueChange={setActiveCategory}
              className="w-full"
            >
              <TabsList className="mb-6 grid w-full grid-cols-3">
                {skillsCategories.map((category) => (
                  <TabsTrigger
                    key={category.id}
                    value={category.id}
                    className="flex items-center gap-2"
                  >
                    {category.icon}
                    <span className="hidden sm:inline">{category.name}</span>
                  </TabsTrigger>
                ))}
              </TabsList>

              {skillsCategories.map((category) => (
                <TabsContent
                  key={category.id}
                  value={category.id}
                  className="bg-card space-y-4 rounded-lg border p-6"
                >
                  <div className="flex items-center gap-2">
                    {category.icon}
                    <h4 className="text-lg font-semibold">
                      {category.name} Skills
                    </h4>
                  </div>

                  <p className="text-muted-foreground text-sm">
                    {category.id === 'development' &&
                      "Technical programming skills I've mastered through various projects and roles."}
                    {category.id === 'design' &&
                      "Design and visual communication skills I've developed to create engaging interfaces."}
                    {category.id === 'architecture' &&
                      'System architecture and planning skills for creating scalable applications.'}
                  </p>

                  <div className="mt-6 space-y-5">
                    {category.skills.map((skill) => (
                      <div
                        key={skill.name}
                        onMouseEnter={() => setHoveredSkill(skill.name)}
                        onMouseLeave={() => setHoveredSkill(null)}
                      >
                        <div className="mb-1.5 flex items-center justify-between">
                          <span className="font-medium">{skill.name}</span>
                          <Badge variant="outline" className="text-xs">
                            {getSkillLevelLabel(skill.level)}
                          </Badge>
                        </div>
                        <Progress
                          value={skill.level}
                          className={cn(
                            'h-2.5',
                            getSkillColorClass(skill.level),
                            hoveredSkill === skill.name ? 'animate-pulse' : ''
                          )}
                        />
                      </div>
                    ))}
                  </div>
                </TabsContent>
              ))}
            </Tabs>
          </div>
        </div>

        {/* Call to Action */}
        <div className="mt-16 flex flex-col items-center justify-center gap-4 sm:flex-row">
          <Button asChild className="gap-2">
            <a href="#contact">
              Contact Me
              <ArrowRight className="h-4 w-4" />
            </a>
          </Button>
          <Button asChild variant="outline" className="gap-2">
            <a href="#" download>
              <Download className="h-4 w-4" />
              Download Resume
            </a>
          </Button>
        </div>
      </div>
    </div>
  );
}
```

### `components/ui/badge.tsx`

```tsx
import * as React from "react"
import { cva, type VariantProps } from "class-variance-authority"
import { Slot } from "radix-ui"

import { cn } from "@/lib/utils"

const badgeVariants = cva(
  "group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",
  {
    variants: {
      variant: {
        default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
        secondary:
          "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",
        destructive:
          "bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",
        outline:
          "border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",
        ghost:
          "hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",
        link: "text-primary underline-offset-4 hover:underline",
      },
    },
    defaultVariants: {
      variant: "default",
    },
  }
)

function Badge({
  className,
  variant = "default",
  asChild = false,
  ...props
}: React.ComponentProps<"span"> &
  VariantProps<typeof badgeVariants> & { asChild?: boolean }) {
  const Comp = asChild ? Slot.Root : "span"

  return (
    <Comp
      data-slot="badge"
      data-variant={variant}
      className={cn(badgeVariants({ variant }), className)}
      {...props}
    />
  )
}

export { Badge, badgeVariants }
```

### `components/ui/button.tsx`

```tsx
import * as React from "react"
import { cva, type VariantProps } from "class-variance-authority"
import { Slot } from "radix-ui"

import { cn } from "@/lib/utils"

const buttonVariants = cva(
  "group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
  {
    variants: {
      variant: {
        default: "bg-primary text-primary-foreground hover:bg-primary/80",
        outline:
          "border-border bg-background shadow-xs hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
        secondary:
          "bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
        ghost:
          "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
        destructive:
          "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
        link: "text-primary underline-offset-4 hover:underline",
      },
      size: {
        default:
          "h-9 gap-1.5 px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
        xs: "h-6 gap-1 rounded-[min(var(--radius-md),8px)] px-2 text-xs in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
        sm: "h-8 gap-1 rounded-[min(var(--radius-md),10px)] px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5",
        lg: "h-10 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
        icon: "size-9",
        "icon-xs":
          "size-6 rounded-[min(var(--radius-md),8px)] in-data-[slot=button-group]:rounded-md [&_svg:not([class*='size-'])]:size-3",
        "icon-sm":
          "size-8 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-md",
        "icon-lg": "size-10",
      },
    },
    defaultVariants: {
      variant: "default",
      size: "default",
    },
  }
)

function Button({
  className,
  variant = "default",
  size = "default",
  asChild = false,
  ...props
}: React.ComponentProps<"button"> &
  VariantProps<typeof buttonVariants> & {
    asChild?: boolean
  }) {
  const Comp = asChild ? Slot.Root : "button"

  return (
    <Comp
      data-slot="button"
      data-variant={variant}
      data-size={size}
      className={cn(buttonVariants({ variant, size, className }))}
      {...props}
    />
  )
}

export { Button, buttonVariants }
```

### `components/ui/progress.tsx`

```tsx
"use client"

import * as React from "react"
import { Progress as ProgressPrimitive } from "radix-ui"

import { cn } from "@/lib/utils"

function Progress({
  className,
  value,
  ...props
}: React.ComponentProps<typeof ProgressPrimitive.Root>) {
  return (
    <ProgressPrimitive.Root
      data-slot="progress"
      className={cn(
        "relative flex h-1.5 w-full items-center overflow-x-hidden rounded-full bg-muted",
        className
      )}
      {...props}
    >
      <ProgressPrimitive.Indicator
        data-slot="progress-indicator"
        className="size-full flex-1 bg-primary transition-all"
        style={{ transform: `translateX(-${100 - (value || 0)}%)` }}
      />
    </ProgressPrimitive.Root>
  )
}

export { Progress }
```

### `components/ui/tabs.tsx`

```tsx
"use client"

import * as React from "react"
import { cva, type VariantProps } from "class-variance-authority"
import { Tabs as TabsPrimitive } from "radix-ui"

import { cn } from "@/lib/utils"

function Tabs({
  className,
  orientation = "horizontal",
  ...props
}: React.ComponentProps<typeof TabsPrimitive.Root>) {
  return (
    <TabsPrimitive.Root
      data-slot="tabs"
      data-orientation={orientation}
      className={cn(
        "group/tabs flex gap-2 data-horizontal:flex-col",
        className
      )}
      {...props}
    />
  )
}

const tabsListVariants = cva(
  "group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-9 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none",
  {
    variants: {
      variant: {
        default: "bg-muted",
        line: "gap-1 bg-transparent",
      },
    },
    defaultVariants: {
      variant: "default",
    },
  }
)

function TabsList({
  className,
  variant = "default",
  ...props
}: React.ComponentProps<typeof TabsPrimitive.List> &
  VariantProps<typeof tabsListVariants>) {
  return (
    <TabsPrimitive.List
      data-slot="tabs-list"
      data-variant={variant}
      className={cn(tabsListVariants({ variant }), className)}
      {...props}
    />
  )
}

function TabsTrigger({
  className,
  ...props
}: React.ComponentProps<typeof TabsPrimitive.Trigger>) {
  return (
    <TabsPrimitive.Trigger
      data-slot="tabs-trigger"
      className={cn(
        "relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
        "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent",
        "data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground",
        "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100",
        className
      )}
      {...props}
    />
  )
}

function TabsContent({
  className,
  ...props
}: React.ComponentProps<typeof TabsPrimitive.Content>) {
  return (
    <TabsPrimitive.Content
      data-slot="tabs-content"
      className={cn("flex-1 text-sm outline-none", className)}
      {...props}
    />
  )
}

export { Tabs, TabsList, TabsTrigger, TabsContent, tabsListVariants }
```
