Code
In context
Install · Free Web Component
One file, no dependencies. Aurora preset, every other option included. Host it yourself so your visitors never load anything from our servers.
The shadcn command adds a typed React wrapper for you. Using the file directly? Custom elements work in React as-is; for type checking add:
Pro · React + TypeScript Pro
One payment of $4.99, yours forever. Use it in unlimited personal and commercial projects; no resale.
- React component with TypeScript types and the full source — pass the testimonials as a
quotesarray - Sunset, Mint and Mono tints for the light behind the cards and on the lifted rim, plus custom tints from Brand Fit
- The vanilla Web Component with every tint, a demo page, README and license
Attributes & props
| Name | Type | Default | Description |
|---|---|---|---|
| children / quotes | <blockquote> / WallQuote[] | — | HTML: each <blockquote data-name data-role> child is one card. React (or el.quotes from script): an array of { quote, name, role }. The avatar is the initials on a soft gradient picked from the name, so no image files are needed. |
| columns | number | 3 | The most columns to show. The wall drops to two and then one as it gets narrower (a column is never thinner than 216px), so it fits a 320px screen untouched. |
| speed | number (px/s) | 22 | How fast the columns drift. Neighbours move in opposite directions at slightly different rates. 0 keeps the wall still. |
| height | number (px) | CSS height | 520 | Height of the wall. The top and bottom fifth fade to nothing. |
| active | number | — | Index of a quote to keep lifted: the wall stops and that card travels to the middle. For tours and scripted demos. |
| theme | 'light' | 'dark' | 'light' | White or dark glass cards. |
| aria-label | string | 'What customers say' | Names the section for screen readers. |
| tint Pro | 'aurora' | 'sunset' | 'mint' | 'mono' | object | 'aurora' | The soft light behind the cards and the rim of the lifted one, or a custom tint. Free build ships Aurora only. |
The wall measures itself with a ResizeObserver and re-deals the cards when the column count changes; each column is one transform per frame, and nothing runs while the wall is off-screen or the tab is hidden. It is one Tab stop: focus stops the drift, and the arrow keys move the columns so every quote can be read. The copies that make the columns endless are hidden from screen readers, so each testimonial is announced once, as a real <figure> with a <blockquote>. On touch screens the wall just drifts. With reduced motion it is a still grid you can scroll. The cards are light glass without a backdrop blur, so the wall sits on a photo, a gradient or a flat colour equally well.
More components
- Pearl Pricing
- Glass Bento
- Glass Cta
- Tide Slide
- Pearl Code
- Ink Sphere
- Frost Card
- Holo Card
- Stream Text
- Lens Compare
- Pearl Dial
- Nova Rating
- Pearl Check
- Pearl Input
- Glass Toast
- Pearl Select
- Glass Sheet
- Pearl Accordion
- Glass Tip
- Pearl Calendar
- Glass Nav
- Pearl Tabs
- Glass Command
- Halo Avatar
- Pearl Steps
- Pearl Skeleton
- Pearl Table
- Pearl Chip
- Pearl Empty
- Roll Counter
- Glass Marquee
- Reveal Text
- Mesh Gradient
- Silk Waves
- Dot Field
- Plasma Orb
- Voice Wave
- Plush Buddy
- Gummy Agent
- Glass Tabbar
- Glass Menu
- Magnet Button
- Beam Border
- Spotlight Card
- Scratch Reveal
- Glass Sidebar
- Pearl Pagination
- Pearl Breadcrumb
- Glass Dock
- Pearl Slider
- Pearl Segmented
- Liquid Metal Button
- Mercury Orb
- Prompt Input
- Voice Orb
- Aurora Ring
- Glass Toggle
- Firefly Button
- Pearl Button
- Pearl Loader
- Alien Face
- Prism Button
- Liquid Carousel
- Orbit Carousel
- Deck Carousel