BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/uselayouts/vertical-tabs

Vertical Tabs

uselayouts/vertical-tabs
FreeComponent

A vertical tab interaction with smooth content switching.

Live preview

live · rendered by the registry
Rendered by uselayouts on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://uselayouts.com/r/vertical-tabs.json

Source

registry/default/example/vertical-tabs.tsxuselayouts.com/r/vertical-tabs.json · first 6 KB
1"use client";
2
3import React, { useState, useEffect, useCallback } from "react";
4import { motion, AnimatePresence } from "motion/react";
5import { cn } from "@/lib/utils";
6import { ArrowLeft01Icon, ArrowRight01Icon } from "@hugeicons/core-free-icons";
7import { HugeiconsIcon } from "@hugeicons/react";
8
9// Change Here
10const SERVICES = [
11 {
12 id: "01",
13 title: "Web Design",
14 description:
15 "Creating beautiful, functional, and user-centric digital experiences.",
16 image:
17 "https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=1200",
18 },
19 {
20 id: "02",
21 title: "Framer Development",
22 description: "Building high-performance, animated websites with Framer.",
23 image:
24 "https://images.unsplash.com/photo-1581291518633-83b4ebd1d83e?q=80&w=1200",
25 },
26 {
27 id: "03",
28 title: "Branding",
29 description:
30 "Defining your brand's visual identity and voice for a lasting impression.",
31 image:
32 "https://images.unsplash.com/photo-1555066931-4365d14bab8c?q=80&w=1200",
33 },
34];
35
36const AUTO_PLAY_DURATION = 5000;
37
38export default function VerticalTabs() {
39 const [activeIndex, setActiveIndex] = useState(0);
40 const [direction, setDirection] = useState(0);
41 const [isPaused, setIsPaused] = useState(false);
42
43 const handleNext = useCallback(() => {
44 setDirection(1);
45 setActiveIndex((prev) => (prev + 1) % SERVICES.length);
46 }, []);
47
48 const handlePrev = useCallback(() => {
49 setDirection(-1);
50 setActiveIndex((prev) => (prev - 1 + SERVICES.length) % SERVICES.length);
51 }, []);
52
53 const handleTabClick = (index: number) => {
54 if (index === activeIndex) return;
55 setDirection(index > activeIndex ? 1 : -1);
56 setActiveIndex(index);
57 setIsPaused(false);
58 };
59
60 useEffect(() => {
61 if (isPaused) return;
62
63 const interval = setInterval(() => {
64 handleNext();
65 }, AUTO_PLAY_DURATION);
66
67 return () => clearInterval(interval);
68 }, [activeIndex, isPaused, handleNext]);
69
70 const variants = {
71 enter: (direction: number) => ({
72 y: direction > 0 ? "-100%" : "100%",
73 opacity: 0,
74 }),
75 center: {
76 zIndex: 1,
77 y: 0,
78 opacity: 1,
79 },
80 exit: (direction: number) => ({
81 zIndex: 0,
82 y: direction > 0 ? "100%" : "-100%",
83 opacity: 0,
84 }),
85 };
86
87 return (
88 <section className="w-full bg-background py-8 md:py-16 lg:py-24">
89 <div className="w-full px-4 md:px-8 lg:px-12 xl:px-20 mx-auto">
90// … truncated

What it pulls in

npm packages

  • motion
  • @hugeicons/core-free-icons
  • @hugeicons/react
  • clsx
  • tailwind-merge

Files it writes

  • registry/default/example/vertical-tabs.tsx

Facts

Registry
uselayouts
Type
registry:component
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-13
Last confirmed
today

Go to the source

Docs on uselayouts uselayouts.com iurvish/uselayouts on GitHub Raw registry item This item as JSON

More from uselayouts

All 26 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
3D Book3d-bookuselayoutsComponentsFree3 deps
Animated Collectionanimated-collectionuselayoutsComponentsFree5 deps
Bento Cardbento-carduselayoutsComponentsFree5 deps
Bottom Menubottom-menuuselayoutsComponentsFree6 deps
BucketbucketuselayoutsComponentsFree5 deps · 2 files
Day Pickerday-pickeruselayoutsComponentsFree5 deps
Delete Buttondelete-buttonuselayoutsComponentsFree5 deps
Discover Buttondiscover-buttonuselayoutsComponentsFree5 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex