uibrik

Testimonial Carousel

Preview

Customize

Interval2s

Usage

import { TestimonialCarousel } from "@/components/uibrik/testimonial-carousel/testimonial-carousel";

<TestimonialCarousel />

Installation

npx shadcn@latest add https://uibrik.com/r/testimonial-carousel.json
Adds the files to components/uibrik/testimonial-carousel and installs motion. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/testimonial-carousel.

Props

TestimonialCarousel
autoplay
Type boolean
true
Advance on a timer. Pauses while the pointer or focus is inside.
interval
Type number
2
How long each quote stays with autoplay on.
testimonials
Type { quote: string; name: string; role?: string }[]
4 sample quotes
The testimonials, in order.
className
Type string
–
Classes for the wrapper.