Skip to content
BaseLayer Themes

Docs

Testimonials02

Carousel / slider of testimonials

Live preview

What clients say

Swipe through more feedback from recent projects.

“Delivered ahead of schedule with zero hand-holding. The site scores 98 on Lighthouse and our bounce rate dropped 30%.”

Sarah Chen
Sarah Chen

Founder, Northline Studio

“Finally a developer who speaks design. Every component was thoughtful, documented, and easy for us to extend.”

Marcus Webb
Marcus Webb

Creative Director, Form & Field

“Our Sanity + Astro rebuild cut hosting costs in half and made content updates painless for the whole team.”

Elena Ruiz

Head of Marketing, Scalepath

“The handoff docs were clear enough that our junior dev shipped the next feature without a support call.”

Jordan Lee

Product Lead, Northline

File: src/blocks/testimonials/Testimonials02.astro

Carousel / slider of testimonials with configurable slides-per-view and arrow placement.

Config (blocks.tstestimonialsSlider)

testimonialsSlider: {
  heading: "What clients say",
  subheading: "Swipe through more feedback from recent projects.",
  slidesPerView: 1,
  slidesPerViewMd: 2,
  slidesPerViewLg: 3,
  arrowPosition: "header", // "sides" | "header"
  gap: 24,
  items: [
    {
      quote: "Delivered ahead of schedule…",
      name: "Sarah Chen",
      role: "Founder, Northline Studio",
      initials: "SC",
      image: "/images/testimonials/sarah.svg",
      imageAlt: "Sarah Chen",
    },
  ],
},

Add to a page

---
import Testimonials02 from "@/blocks/testimonials/Testimonials02.astro";
---

<Testimonials02 />

Inline:

<Testimonials02
  arrowPosition="sides"
  slidesPerViewLg={2}
  sectionId="home-testimonials"
/>

Props

Prop Config key Notes
sectionId Default "testimonials-slider"
heading testimonialsSlider.heading
subheading testimonialsSlider.subheading
items testimonialsSlider.items Same shape as Testimonials01
slidesPerView testimonialsSlider.slidesPerView Mobile
slidesPerViewMd testimonialsSlider.slidesPerViewMd Tablet
slidesPerViewLg testimonialsSlider.slidesPerViewLg Desktop
arrowPosition testimonialsSlider.arrowPosition "header" | "sides"
gap testimonialsSlider.gap Gap in px

Also include: TestimonialCard.astro, TestimonialSliderArrows.astro.

Returns null if items is empty.

← Testimonials versions · Blocks overview