Reviews Carousel

An elegant carousel component for displaying testimonials and reviews with smooth spring animations and keyboard navigation.

Open in v0
~9.3 kB

Last updated: August 2, 2026

Installation

npx smoothui-cli add reviews-carousel

Features

  • Smooth spring-based animations for card transitions
  • Keyboard navigation (Arrow keys)
  • Auto-play support with configurable interval
  • Customizable indicators and navigation buttons
  • Respects prefers-reduced-motion for accessibility
  • Stack-based card layout with depth effect
  • Blur and opacity effects for inactive cards

Accessibility

Keyboard Interactions

KeyDescription
ArrowLeftNavigate to the previous review
ArrowRightNavigate to the next review

ARIA Attributes

AttributeElementPurpose
aria-labelNavigation buttonsLabels for "Anterior" (previous) and "Siguiente" (next) buttons
aria-labelIndicator buttonsLabels each indicator with its position number
type="button"All buttonsPrevents implicit form submission
disabledNavigation buttonsDisables previous/next when at the bounds

Screen Reader

  • Reviews use semantic figure and figcaption elements with blockquote for proper review structure.
  • Navigation state is communicated through disabled button states.

Reduced Motion

This component respects the prefers-reduced-motion media query via useReducedMotion from Motion. When reduced motion is preferred, card scale, vertical offset, blur, and opacity transitions use instant 0ms durations instead of spring animations.

Props

Created by

Powered by

motion.dev
lucide.dev

© 2026 SmoothUI. Built by Eduardo Calvo.