BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/scrollxui/animated-testimonials

Animated Testimonials

scrollxui/animated-testimonials
FreeComponent

Minimal testimonials with image and quote for clean, modern design.

Live preview

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

Install it

npx shadcn@latest add https://scrollxui.dev/registry/animated-testimonials.json

Source

components/ui/animated-testimonials.tsxscrollxui.dev/registry/animated-testimonials.json
1import React from 'react';
2
3import { cn } from '@/lib/utils';
4
5interface Testimonial {
6 name: string;
7 image: string;
8 description: string;
9 handle: string;
10}
11
12interface AnimatedCanopyProps extends React.HTMLAttributes<HTMLDivElement> {
13 vertical?: boolean;
14 repeat?: number;
15 reverse?: boolean;
16 pauseOnHover?: boolean;
17 applyMask?: boolean;
18}
19
20const AnimatedCanopy = ({
21 children,
22 vertical = false,
23 repeat = 4,
24 pauseOnHover = false,
25 reverse = false,
26 className,
27 applyMask = true,
28 ...props
29}: AnimatedCanopyProps) => (
30 <div
31 {...props}
32 className={cn(
33 'group relative flex h-full w-full overflow-hidden p-2 [--duration:10s] [--gap:12px] gap-(--gap)',
34 vertical ? 'flex-col' : 'flex-row',
35 className,
36 )}
37 >
38 {Array.from({ length: repeat }).map((_, index) => (
39 <div
40 key={`item-${index}`}
41 className={cn('flex shrink-0 gap-(--gap)', {
42 'group-hover:paused': pauseOnHover,
43 'direction-reverse': reverse,
44 'animate-canopy-horizontal flex-row': !vertical,
45 'animate-canopy-vertical flex-col': vertical,
46 })}
47 >
48 {children}
49 </div>
50 ))}
51 {applyMask && (
52 <div
53 className={cn(
54 'pointer-events-none absolute inset-0 z-10 h-full w-full from-white/50 from-5% via-transparent via-50% to-white/50 to-95% dark:from-gray-800/50 dark:via-transparent dark:to-gray-800/50',
55 vertical ? 'bg-linear-to-b' : 'bg-linear-to-r',
56 )}
57 />
58 )}
59 </div>
60);
61
62const TestimonialCard = ({
63 testimonial,
64 className,
65}: {
66 testimonial: Testimonial;
67 className?: string;
68}) => (
69 <div
70 className={cn(
71 'group mx-2 flex h-32 w-80 shrink-0 cursor-pointer overflow-hidden rounded-xl border border-transparent p-3 transition-all hover:border-blue-400 hover:shadow-[0_0_10px_#60a5fa] dark:hover:border-blue-400',
72 className,
73 )}
74 >
75 <div className='flex items-start gap-3'>
76 <div className='relative h-12 w-12 shrink-0 overflow-hidden rounded-full border-2 border-gray-200 dark:border-gray-600'>
77 <img
78 src={testimonial.image}
79 alt={testimonial.name}
80 className='h-full w-full not-prose object-cover'
81 />
82 </div>
83 <div className='flex-1'>
84 <div className='flex items-baseline gap-2'>
85 <span className='text-sm font-bold text-foreground'>
86 {testimonial.name}
87 </span>
88 <span className='text-xs text-muted-foreground'>
89// … truncated

What it pulls in

npm packages

  • clsx
  • tailwind-merge

Other registry items

  • Adityakishore0/ScrollX-UI/utils

Files it writes

  • src/components/ui/animated-testimonials.tsx

Facts

Registry
scrollxui
Type
registry:ui
Access
Free
Files written
1
Licence
NOASSERTION
First indexed
2026-08-03
Last confirmed
yesterday

Go to the source

Docs on scrollxui scrollxui.dev Adityakishore0/ScrollX-UI on GitHub Raw registry item This item as JSON

More from scrollxui

All 180 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AccordionaccordionscrollxuiComponentsFree4 deps
Alert Dialogalert-dialogscrollxuiComponentsFree7 deps
Animated Buttonanimated-buttonscrollxuiComponentsFree4 deps
Animated Tabsanimated-tabsscrollxuiComponentsFree1 dep
Animated TextGenerateanimated-textgeneratescrollxuiComponentsFree3 deps
AnnouncementannouncementscrollxuiComponentsFree5 deps
Aspect Ratioaspect-ratioscrollxuiComponentsFree1 dep
Aurora Dotsaurora-dotsscrollxuiComponentsFree2 deps
BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex