• Logo

    Elementra UI

    v0.1.7 - Documentation
  1. Docs
  2. Components/Fancy-Testimonials-Slider/

Fancy Testimonials Slider

A polished, animated testimonial carousel with customizable themes and transitions.

1Installation

npm i elementra-ui

2Add Components Using CLI

npx elementra-ui add

Select components using the up/down arrow keys. Press spacebar to select multiple components, then press enter to add them to your src folder.

Jessie J
EldoraUI's components make building UIs effortless and enjoyable!

3:Standard testimonials with purple theme

Import and use the FancyTestimonialsSlider component in your project.

Jessie J
EldoraUI's components make building UIs effortless and enjoyable!

4:Custom color testimonials with zoom animation

Import and use the FancyTestimonialsSlider component in your project.

Jessie J
EldoraUI's components make building UIs effortless and enjoyable!

5:Interactive testimonials with slide animation

Import and use the FancyTestimonialsSlider component in your project.

Jessie J
EldoraUI's components make building UIs effortless and enjoyable!

6:Props Reference

PropTypeDefaultDescription
testimonialsarrayrequiredArray of testimonial objects with img, quote, name, and role properties
colorVariantstring'purple'Color theme: 'purple', 'blue', 'green', 'amber', 'red', 'gray', 'black', or custom hex color
animationPresetstring'default'Animation style: 'default', 'fade', 'slide', 'zoom'
sizestring'md'Size of the slider: 'sm', 'md', 'lg'
autorotatebooleantrueWhether testimonials should automatically rotate
autorotateTimingnumber7000Time in milliseconds between testimonial transitions
classNamestringundefinedAdditional CSS classes to apply to the component

7:Testimonial Item Structure

{
  img: string,    // URL to the testimonial author's image
  quote: string,  // The testimonial text content
  name: string,   // Name of the testimonial author
  role: string    // Role or company of the author
}