# Feature Timeline

> A vertical timeline that walks through features or milestones in sequence. Ideal for telling how a product flow works or how your story unfolded over time.

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/marketing-feature-sections-feature-timeline).

- Page, with a live preview: https://shadcn.exchange/r/shadcn-ui-blocks/marketing-feature-sections-feature-timeline
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcn-ui-blocks/marketing-feature-sections-feature-timeline-light-d9f72530f90f32b4.png
- Registry item: https://www.shadcn-ui-blocks.com/r/marketing-feature-sections-feature-timeline.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://www.shadcn-ui-blocks.com/r/marketing-feature-sections-feature-timeline.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: `@icons-pack/react-simple-icons`, `class-variance-authority`, `lucide-react`, `radix-ui`

## Files

### `components/blocks/marketing/feature-sections/feature-timeline.tsx`

```tsx
import { useState } from 'react';
import { Button } from '@/components/ui/button';
import { Card, CardContent } from '@/components/ui/card';
import { Badge } from '@/components/ui/badge';
import { Tabs, TabsList, TabsTrigger, TabsContent } from '@/components/ui/tabs';
import { Calendar, CalendarCheck, CalendarDays, Check, Clock, RotateCcw, Star, Sparkles, Lightbulb, Rocket, ArrowUpRight, Eye, CircleEllipsis } from 'lucide-react';

import { cn } from '@/lib/utils';

import type { ComponentType, SVGProps } from 'react';
import { SiGithub } from '@icons-pack/react-simple-icons';

type LucideIcon = ComponentType<SVGProps<SVGSVGElement> & { size?: number | string }>;
interface TimelineItem {
  id: string;
  title: string;
  description: string;
  date: string;
  formattedDate: string;
  icon: LucideIcon;
  status: 'released' | 'in-progress' | 'planned';
  isHighlighted?: boolean;
  version?: string;
  link?: {
    text: string;
    url: string;
    icon: LucideIcon;
  };
  image?: string;
}

type TimelinePeriod = {
  id: string;
  label: string;
  items: TimelineItem[];
};

// Timeline periods
const timelinePeriods: TimelinePeriod[] = [
  {
    id: 'past',
    label: 'Released',
    items: [
      {
        id: 'item-1',
        title: 'Advanced Authentication',
        description:
          'Secure multi-factor authentication and SSO integration for enterprise users.',
        date: '2023-12-15',
        formattedDate: 'December 15, 2023',
        icon: Check,
        status: 'released',
        version: '2.4.0',
        link: {
          text: 'Read documentation',
          url: '#',
          icon: ArrowUpRight,
        },
        image:
          'https://images.unsplash.com/photo-1618044733300-9472054094ee?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.0.3',
      },
      {
        id: 'item-2',
        title: 'Data Visualization Suite',
        description:
          'Interactive charts, graphs, and customizable dashboards for data analysis.',
        date: '2023-10-20',
        formattedDate: 'October 20, 2023',
        icon: Check,
        status: 'released',
        version: '2.3.0',
        isHighlighted: true,
        link: {
          text: 'View on GitHub',
          url: '#',
          icon: SiGithub,
        },
        image:
          'https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.0.3',
      },
      {
        id: 'item-3',
        title: 'Team Collaboration Tools',
        description:
          'Real-time editing, commenting, and notification systems for teams.',
        date: '2023-08-05',
        formattedDate: 'August 5, 2023',
        icon: Check,
        status: 'released',
        version: '2.2.0',
        link: {
          text: 'Read case study',
          url: '#',
          icon: Eye,
        },
        image:
          'https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.0.3',
      },
      {
        id: 'item-4',
        title: 'API Integrations',
        description:
          'Connect with third-party services via our comprehensive API endpoints.',
        date: '2023-06-12',
        formattedDate: 'June 12, 2023',
        icon: Check,
        status: 'released',
        version: '2.1.0',
      },
      {
        id: 'item-5',
        title: 'Performance Optimization',
        description: 'Major speed improvements and resource optimization.',
        date: '2023-04-30',
        formattedDate: 'April 30, 2023',
        icon: Check,
        status: 'released',
        version: '2.0.0',
      },
    ],
  },
  {
    id: 'present',
    label: 'In Progress',
    items: [
      {
        id: 'item-6',
        title: 'AI-Powered Analytics',
        description:
          'Intelligent insights and predictions based on your data patterns.',
        date: '2024-02-15',
        formattedDate: 'February 15, 2024',
        icon: RotateCcw,
        status: 'in-progress',
        isHighlighted: true,
        link: {
          text: 'Join beta program',
          url: '#',
          icon: Rocket,
        },
        image:
          'https://images.unsplash.com/photo-1639322537228-f710d846310a?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.0.3',
      },
      {
        id: 'item-7',
        title: 'Mobile Application',
        description: 'Native mobile experience for iOS and Android platforms.',
        date: '2024-03-10',
        formattedDate: 'March 10, 2024',
        icon: RotateCcw,
        status: 'in-progress',
      },
      {
        id: 'item-8',
        title: 'Enhanced Search Functionality',
        description:
          'Powerful search capabilities with filters and saved searches.',
        date: '2024-03-30',
        formattedDate: 'March 30, 2024',
        icon: RotateCcw,
        status: 'in-progress',
      },
    ],
  },
  {
    id: 'future',
    label: 'Planned',
    items: [
      {
        id: 'item-9',
        title: 'Offline Mode',
        description:
          'Work without internet connection with automatic sync when back online.',
        date: '2024-05-15',
        formattedDate: 'May 15, 2024',
        icon: Calendar,
        status: 'planned',
      },
      {
        id: 'item-10',
        title: 'Advanced Workflow Automation',
        description:
          'Create complex automation rules and triggers for your workflows.',
        date: '2024-06-20',
        formattedDate: 'June 20, 2024',
        icon: Calendar,
        status: 'planned',
        isHighlighted: true,
        link: {
          text: 'Submit feedback',
          url: '#',
          icon: Lightbulb,
        },
        image:
          'https://images.unsplash.com/photo-1483478550801-ceba5fe50e8e?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.0.3',
      },
      {
        id: 'item-11',
        title: 'Blockchain Integration',
        description:
          'Secure data verification and transactions using blockchain technology.',
        date: '2024-07-30',
        formattedDate: 'July 30, 2024',
        icon: Calendar,
        status: 'planned',
      },
      {
        id: 'item-12',
        title: 'Extended Language Support',
        description:
          'Adding support for 15 more languages including Arabic and Japanese.',
        date: '2024-08-25',
        formattedDate: 'August 25, 2024',
        icon: Calendar,
        status: 'planned',
      },
    ],
  },
];

// Status config for styling
const statusConfig = {
  released: {
    icon: Check,
    color: 'green',
    label: 'Released',
  },
  'in-progress': {
    icon: RotateCcw,
    color: 'amber',
    label: 'In Progress',
  },
  planned: {
    icon: Calendar,
    color: 'blue',
    label: 'Planned',
  },
};

export default function FeatureTimeline() {
  const [activeTab, setActiveTab] = useState<string>('past');

  return (
    <section className="container mx-auto space-y-12 px-4 py-24 md:px-6 2xl:max-w-[1400px]">
      <div className="space-y-4 text-center">
        <h2 className="text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl">
          Feature Roadmap
        </h2>
        <p className="text-muted-foreground mx-auto max-w-[700px] md:text-xl/relaxed lg:text-base/relaxed xl:text-xl/relaxed">
          Track our journey of continuous improvement and upcoming features
        </p>
      </div>

      <Tabs
        defaultValue={activeTab}
        onValueChange={setActiveTab}
        className="w-full"
      >
        <div className="flex justify-center">
          <TabsList className="grid w-full max-w-md grid-cols-3">
            {timelinePeriods.map((period) => (
              <TabsTrigger
                key={period.id}
                value={period.id}
                className="flex items-center gap-2"
              >
                {period.id === 'past' && <Check className="h-4 w-4" />}
                {period.id === 'present' && <Clock className="h-4 w-4" />}
                {period.id === 'future' && <CalendarDays className="h-4 w-4" />}
                {period.label}
              </TabsTrigger>
            ))}
          </TabsList>
        </div>

        {timelinePeriods.map((period) => (
          <TabsContent key={period.id} value={period.id} className="mt-8">
            <div className="space-y-8">
              {/* Timeline header */}
              <div className="flex items-center justify-between">
                <div className="flex items-center gap-2">
                  {period.id === 'past' && (
                    <CalendarCheck className="h-5 w-5 text-green-500" />
                  )}
                  {period.id === 'present' && (
                    <CircleEllipsis className="h-5 w-5 animate-pulse text-amber-500" />
                  )}
                  {period.id === 'future' && (
                    <Rocket className="h-5 w-5 text-blue-500" />
                  )}
                  <h3 className="text-xl font-bold">
                    {period.id === 'past' && 'Released Features'}
                    {period.id === 'present' && 'Currently In Development'}
                    {period.id === 'future' && 'Upcoming on our Roadmap'}
                  </h3>
                </div>
                <Badge variant="outline" className="px-2 py-1">
                  {period.items.length} feature
                  {period.items.length !== 1 ? 's' : ''}
                </Badge>
              </div>

              {/* Timeline items */}
              <div className="border-muted relative ml-3 border-l-2 pl-6">
                {period.items.map((item) => {
                  const StatusIcon = statusConfig[item.status].icon;
                  const statusColor = statusConfig[item.status].color;

                  return (
                    <div
                      key={item.id}
                      className={cn(
                        'relative mb-10 last:mb-0',
                        item.isHighlighted && 'relative'
                      )}
                    >
                      {/* Timeline node */}
                      <div
                        className={cn(
                          'ring-background absolute -left-8 flex h-5 w-5 items-center justify-center rounded-full ring-8',
                          `bg-${statusColor}-100 text-${statusColor}-600 dark:bg-${statusColor}-950 dark:text-${statusColor}-400`
                        )}
                      >
                        <StatusIcon className="h-3 w-3" />
                      </div>

                      {/* Date badge */}
                      <div className="mb-1 flex items-center text-sm">
                        <time className="text-muted-foreground flex items-center">
                          <Calendar className="mr-1 h-3.5 w-3.5" />
                          {item.formattedDate}
                        </time>
                        {item.version && (
                          <Badge className="ml-2" variant="outline">
                            v{item.version}
                          </Badge>
                        )}
                        {item.isHighlighted && (
                          <Badge className="ml-2 bg-amber-500 hover:bg-amber-600">
                            <Star className="mr-1 h-3 w-3" />
                            Featured
                          </Badge>
                        )}
                      </div>

                      {/* Main content */}
                      <Card
                        className={cn(
                          'overflow-hidden border p-0',
                          item.isHighlighted && 'border-primary/50 shadow-md'
                        )}
                      >
                        <CardContent className="p-0">
                          {item.image && (
                            <div className="relative h-48 w-full">
                              <img
                                src={item.image}
                                alt={item.title}
                                className="object-cover"
                              />
                              <div className="from-background/90 absolute inset-0 bg-gradient-to-t to-transparent" />
                              <div className="absolute bottom-4 left-4">
                                <Badge
                                  className={`bg-${statusColor}-500 hover:bg-${statusColor}-600`}
                                >
                                  {statusConfig[item.status].label}
                                </Badge>
                              </div>
                            </div>
                          )}

                          <div className={cn('p-6', !item.image && 'pt-4')}>
                            {!item.image && (
                              <Badge
                                className={`mb-3 bg-${statusColor}-100 text-${statusColor}-600 hover:bg-${statusColor}-200 dark:bg-${statusColor}-950 dark:text-${statusColor}-400 dark:hover:bg-${statusColor}-900`}
                              >
                                {statusConfig[item.status].label}
                              </Badge>
                            )}

                            <h3 className="mb-2 text-lg font-semibold">
                              {item.title}
                            </h3>
                            <p className="text-muted-foreground">
                              {item.description}
                            </p>

                            {item.link && (
                              <Button asChild variant="outline" size="sm">
                                <a
                                  href={item.link.url}
                                  className="mt-4 inline-flex items-center"
                                >
                                  {item.link.text}
                                  <item.link.icon className="ml-2 h-3.5 w-3.5" />
                                </a>
                              </Button>
                            )}
                          </div>
                        </CardContent>
                      </Card>
                    </div>
                  );
                })}
              </div>
            </div>
          </TabsContent>
        ))}
      </Tabs>

      <div className="flex justify-center pt-8">
        <div className="bg-muted max-w-xl rounded-lg p-6 text-center">
          <div className="mb-4 flex justify-center">
            <div className="bg-primary/10 rounded-full p-3">
              <Sparkles className="text-primary h-6 w-6" />
            </div>
          </div>
          <h3 className="mb-2 text-xl font-bold">Have a feature request?</h3>
          <p className="text-muted-foreground mb-4">
            We love hearing from our users! Share your ideas for new features or
            improvements.
          </p>
          <div className="flex flex-col justify-center gap-3 sm:flex-row">
            <Button variant="outline" asChild>
              <a href="#">
                <Eye className="mr-2 h-4 w-4" />
                View all features
              </a>
            </Button>
            <Button asChild>
              <a href="#">
                <Lightbulb className="mr-2 h-4 w-4" />
                Submit a request
              </a>
            </Button>
          </div>
        </div>
      </div>
    </section>
  );
}
```

### `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/card.tsx`

```tsx
import * as React from "react"

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

function Card({
  className,
  size = "default",
  ...props
}: React.ComponentProps<"div"> & { size?: "default" | "sm" }) {
  return (
    <div
      data-slot="card"
      data-size={size}
      className={cn(
        "group/card flex flex-col gap-6 overflow-hidden rounded-xl bg-card py-6 text-sm text-card-foreground shadow-xs ring-1 ring-foreground/10 has-[>img:first-child]:pt-0 data-[size=sm]:gap-4 data-[size=sm]:py-4 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",
        className
      )}
      {...props}
    />
  )
}

function CardHeader({ className, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="card-header"
      className={cn(
        "group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-6 group-data-[size=sm]/card:px-4 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-6 group-data-[size=sm]/card:[.border-b]:pb-4",
        className
      )}
      {...props}
    />
  )
}

function CardTitle({ className, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="card-title"
      className={cn(
        "font-heading text-base leading-normal font-medium group-data-[size=sm]/card:text-sm",
        className
      )}
      {...props}
    />
  )
}

function CardDescription({ className, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="card-description"
      className={cn("text-sm text-muted-foreground", className)}
      {...props}
    />
  )
}

function CardAction({ className, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="card-action"
      className={cn(
        "col-start-2 row-span-2 row-start-1 self-start justify-self-end",
        className
      )}
      {...props}
    />
  )
}

function CardContent({ className, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="card-content"
      className={cn("px-6 group-data-[size=sm]/card:px-4", className)}
      {...props}
    />
  )
}

function CardFooter({ className, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="card-footer"
      className={cn(
        "flex items-center rounded-b-xl px-6 group-data-[size=sm]/card:px-4 [.border-t]:pt-6 group-data-[size=sm]/card:[.border-t]:pt-4",
        className
      )}
      {...props}
    />
  )
}

export {
  Card,
  CardHeader,
  CardFooter,
  CardTitle,
  CardAction,
  CardDescription,
  CardContent,
}
```

### `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/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 }
```
