86 Pro components and page blocks

Get Pro

Testimonial Wall

New

Preview

Customize

Vertical
Columns3
Speed24px/s
Pause
Height560px
Fade96px

Installation

npx shadcn@latest add https://uibrik.com/r/testimonial-wall.json
Adds the files to components/uibrik/testimonial-wall and installs motion and react-use-measure. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/testimonial-wall. Builds on Marquee.

Usage

import { TestimonialWall } from "@/components/uibrik/testimonial-wall/testimonial-wall";​<TestimonialWall  orientation="vertical"  columns={3}  speed={24}  alternate  onHover="pause"  height={560}  fade={96}  label="Testimonials"  // testimonials={[{ quote: "…", name: "…" }]}/>

Props

TestimonialWall
orientation
Type "vertical" | "horizontal"
"vertical"
Columns that scroll up and down, or rows that slide sideways.
columns
Type number
3
Most columns to show. The wall drops columns as it narrows, down to one on a phone.
rows
Type number
2
Rows of cards.
cardWidth
Type number
340
Width of each card. Narrower on a phone.
speed
Type number
24
Pace of the first lane; the others run a little faster or slower.
alternate
Type boolean
true
Neighbouring columns or rows run in opposite directions.
onHover
Type "pause" | "slow" | "none"
"pause"
What hovering a lane does. Tabbing into one always stops it.
height
Type number
560
Height of the wall. A horizontal wall is as tall as its rows.
fade
Type number
96
How far the ends of each lane fade into the page. 0 turns it off.
testimonials
Type { quote: string; name: string; role?: string; avatar?: string }[]
SAMPLE_TESTIMONIALS
The quotes, dealt across the columns or rows in turn.
label
Type string
"Testimonials"
Names the wall for screen readers.
className
Type string
–
Classes for the wall.