Free Webinar β€” Building for Scale with Pion & Webflow

0.1.0

Testimonial Carousel

Accessible carousel for displaying testimonials and reviews.

Accessible carousel for displaying testimonials and reviews.

Features

  • βœ… Zero dependencies - Pure React implementation
  • βœ… Full accessibility - ARIA labels, keyboard navigation, screen reader support
  • βœ… Theme support - Light, dark, and auto modes
  • βœ… Reduced motion support - Respects user preferences

Props

testimonials

  • Type: string
  • Testimonials (JSON array)

autoPlay

  • Type: number - Default: 5000
  • Auto-play interval (ms)

showArrows

  • Type: boolean - Default: true
  • Show navigation arrows

showDots

  • Type: boolean - Default: true
  • Show dots navigation

showRatings

  • Type: boolean - Default: true
  • Show ratings

theme

  • Type: 'light' | 'dark' | 'auto' - Default: 'auto'
  • Theme mode

radius

  • Type: number - Default: 16
  • Border radius in pixels

density

  • Type: 'comfortable' | 'compact' - Default: 'comfortable'
  • Layout density

className

  • Type: string
  • Additional CSS class

Customization

CSS Variables

Override these variables in your Webflow custom code or CSS:

--cc-radius: 16px; /* Border radius */

Webflow Classes

Target these classes in Webflow Designer for custom styles:

  • .cc-testimonial-carousel - Component wrapper