Svelte Testimonial - Flowbite Svelte Blocks

Get started with a collection of testimonial sections built with Tailwind CSS to show a statement from a customer as an endorsement to other potential clients.

Blockquote example #

Use this simple example of a testimonial based on a blockquote element and show the text, customer avatar, name, and occupation.

  • Svelte
<script lang="ts">
  import { Section, Quotes, Testimonial, TestimonialCard, TestimonialCardItem } from 'flowbite-svelte-blocks';
</script>

<Section name="testimonial">
  <Testimonial icon={Quotes}>
    <blockquote>
      <p class="text-2xl font-medium text-gray-900 dark:text-white">"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application."</p>
    </blockquote>
    <svelte:fragment slot="footer">
      <img class="w-6 h-6 rounded-full" src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/michael-gouch.png" alt="michael profile" />
      <div class="flex items-center divide-x-2 divide-gray-500 dark:divide-gray-700">
        <div class="pr-3 font-medium text-gray-900 dark:text-white">Micheal Gough</div>
        <div class="pl-3 text-sm font-light text-gray-500 dark:text-gray-400">CEO at Google</div>
      </div>
    </svelte:fragment>
  </Testimonial>
</Section>

Testimonial cards #

You can use this example of testimonial cards up to two items on a row and show the title, description, avatar, name, and occupation.

  • Svelte
<script lang="ts">
  import { Section, Quotes, Testimonial, TestimonialCard, TestimonialCardItem } from 'flowbite-svelte-blocks';
</script>

<Section name="testimonial">
  <TestimonialCard>
    <svelte:fragment slot="header">
      <h2 class="mb-4 text-4xl tracking-tight font-extrabold text-gray-900 dark:text-white">Testimonials</h2>
      <p class="mb-8 font-light text-gray-500 lg:mb-16 sm:text-xl dark:text-gray-400">Explore the whole collection of open-source web components and elements built with the utility classes from Tailwind</p>
    </svelte:fragment>
  </TestimonialCard>
  <div class="grid mb-8 lg:mb-12 lg:grid-cols-2">
    <TestimonialCardItem>
      <svelte:fragment slot="h3">Speechless with how easy this was to integrate</svelte:fragment>
      <p class="my-4">"I recently got my hands on Flowbite Pro, and holy crap, I'm speechless with how easy this was to integrate within my application. Most templates are a pain, code is scattered, and near impossible to theme.</p>
      <p class="my-4">Flowbite has code in one place and I'm not joking when I say it took me a matter of minutes to copy the code, customise it and integrate within a Laravel + Vue application.</p>
      <p class="my-4">If you care for your time, I hands down would go with this."</p>
      <svelte:fragment slot="caption">
        <img class="w-9 h-9 rounded-full" src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/karen-nelson.png" alt="karen profile" />
        <div class="space-y-0.5 font-medium dark:text-white text-left">
          <div>Bonnie Green</div>
          <div class="text-sm font-light text-gray-500 dark:text-gray-400">Developer at Open AI</div>
        </div>
      </svelte:fragment>
    </TestimonialCardItem>
    <TestimonialCardItem>
      <svelte:fragment slot="h3">Solid foundation for any project</svelte:fragment>
      <p class="my-4">"FlowBite provides a robust set of design tokens and components based on the popular Tailwind CSS framework. From the most used UI components like forms and navigation bars to the whole app screens designed both for desktop and mobile, this UI kit provides a solid foundation for any project.</p>
      <p class="my-4">Designing with Figma components that can be easily translated to the utility classes of Tailwind CSS is a huge timesaver!"</p>
      <svelte:fragment slot="caption">
        <img class="w-9 h-9 rounded-full" src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/roberta-casas.png" alt="robert profile" />
        <div class="space-y-0.5 font-medium dark:text-white text-left">
          <div>Roberta Casas</div>
          <div class="text-sm font-light text-gray-500 dark:text-gray-400">Lead designer at Dropbox</div>
        </div>
      </svelte:fragment>
    </TestimonialCardItem>
    <TestimonialCardItem>
      <svelte:fragment slot="h3">Mindblowing workflow and variants</svelte:fragment>
      <p class="my-4">"As someone who mainly designs in the browser, I've been a casual user of Figma, but as soon as I saw and started playing with FlowBite my mind was 🤯.</p>
      <p class="my-4">Everything is so well structured and simple to use (I've learnt so much about Figma by just using the toolkit).</p>
      <p class="my-4">Aesthetically, the well designed components are beautiful and will undoubtedly level up your next application."</p>
      <svelte:fragment slot="caption">
        <img class="w-9 h-9 rounded-full" src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/jese-leos.png" alt="jese leos profile" />
        <div class="space-y-0.5 font-medium dark:text-white text-left">
          <div>Jese Leos</div>
          <div class="text-sm font-light text-gray-500 dark:text-gray-400">Software Engineer at Facebook</div>
        </div>
      </svelte:fragment>
    </TestimonialCardItem>
    <TestimonialCardItem>
      <svelte:fragment slot="h3">Efficient Collaborating</svelte:fragment>
      <p class="my-4">"This is a very complex and beautiful set of elements. Under the hood it comes with the best things from 2 different worlds: Figma and Tailwind.</p>
      <p class="my-4">You have many examples that can be used to create a fast prototype for your team."</p>
      <svelte:fragment slot="caption">
        <img class="w-9 h-9 rounded-full" src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/joseph-mcfall.png" alt="joseph profile" />
        <div class="space-y-0.5 font-medium dark:text-white text-left">
          <div>Joseph McFall</div>
          <div class="text-sm font-light text-gray-500 dark:text-gray-400">CTO at Google</div>
        </div>
      </svelte:fragment>
    </TestimonialCardItem>
  </div>
  <div class="text-center">
    <a href="/" class="py-2.5 px-5 mr-2 mb-2 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700">Show more...</a>
  </div>
</Section>

Component data