Black Friday: 30% off Pro

Get 30% off

Updated

Testimonial Spotlight

Pro

Preview

Customize

Interval4000ms
Columns4
Size64px
Gap12px
Zoom1.30
Magnify0.35

Installation

Pro

Testimonial Spotlight is a Pro component

Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.

Buying? Use the email you'll sign in with. Your license is tied to it.

Install with a key

  1. Add the Pro registry to components.json:
    components.json
    {
      "registries": {
        "@uibrik-pro": {
          "url": "https://uibrik.com/r/pro/{name}.json",
          "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" }
        }
      }
    }
  2. Put your key in .env.local and add that file to .gitignore:
    .env.local
    UIBRIK_LICENSE=your-license-key
  3. Install it:
    Terminal
    npx shadcn@latest add @uibrik-pro/testimonial-spotlight

Usage

import { TestimonialSpotlight } from "@/components/uibrik/testimonial-spotlight/testimonial-spotlight";​<TestimonialSpotlight  autoplay  interval={4000}  columns={4}  size={64}  gap={12}  zoom={1.3}  grayscale  ripple  magnify={0.35}  // items={[{ id: "…", name: "…", message: "…", avatar: "…", hue: 0 }]}  // value="…"  // onChange={(id) => {}}  // defaultValue="…"/>

Where to use Testimonial Spotlight

  • Customer sections

    A whole grid of faces says many people use it, and the spotlight gives each one a turn.

    Pairs with Testimonial Orbit

  • Community and team pages

    Picking any face shows what that person said, without opening anything.

    Pairs with Crowd Bloom

  • Case study hubs

    The tinted panel can hold a short quote that leads into a longer story.

    Pairs with Testimonial Carousel

Props

TestimonialSpotlight
autoplay
Type boolean
true
Move the spotlight on a timer, drawn as a ring around the face. Holds while hovered, focused or off screen.
interval
Type number
4000
Time each person stays in the spotlight.
columns
Type number
4
Faces per row.
size
Type number
64
Face size. Shrinks to fit narrow screens.
gap
Type number
12
Space between faces.
zoom
Type number
1.3
How much the face in the spotlight grows.
grayscale
Type boolean
true
Show the other faces in black and white.
ripple
Type boolean
true
Send a wave out in rings from the face in the spotlight when it moves.
magnify
Type number
0.35
How much faces under the mouse swell and lean away. 0 turns it off.
items
Type { id: string; name: string; role?: string; message: string; avatar: string; hue: number }[]
SAMPLE_SPOTLIGHT
People in the grid. `hue` is an OKLCH hue (0–360) for their ring and panel tint.
value / onChange
Type string / (id: string) => void
–
Controlled spotlight id.
defaultValue
Type string
first item
Person in the spotlight to begin with.
className
Type string
–
Classes for the wrapper.