Skip to content

Quote

What a person said, in their words: a customer on the landing, a line from a support thread. Set in the voice face, with who said it.

import { Quote, QuoteSkeleton } from '@sypnia/ui/react'

On this page
  1. Customers
  2. In Astro
  3. Skeleton
  4. When to use it
  5. For everyone
  6. Props

Customers

We stopped losing orders on Sundays. The agent found the bug before any customer wrote to us.
LGLucía GómezOwner, La Espiga
Errors come with the fix already written. I review it and merge.
BCBo ChenDeveloper, Northwind
Code
import { Quote, QuoteSkeleton } from '@sypnia/ui/react';

// What a person said, in the voice face, with who said it.
export default function Customers() {
  return (
    <div className="sy-stack">
      <Quote size="lg" author="Lucía Gómez" role="Owner, La Espiga">We stopped losing orders on Sundays. The agent found the bug before any customer wrote to us.</Quote>
      <div className="sy-cols sy-cols--stack">
        <Quote author="Bo Chen" role="Developer, Northwind">Errors come with the fix already written. I review it and merge.</Quote>
        <QuoteSkeleton lines={2} />
      </div>
    </div>
  );
}

In Astro

We stopped losing orders on Sundays.
LGLucía GómezOwner, La Espiga
Code
---
// The Astro twin, for landing pages.
import Quote from '@sypnia/ui/astro/Quote.astro';
---
<Quote author="Lucía Gómez" role="Owner, La Espiga">We stopped losing orders on Sundays.</Quote>

Skeleton

Errors come with the fix already written.
BCBo ChenDeveloper, Northwind
Code
import { Quote, QuoteSkeleton } from '@sypnia/ui/react';

// The quote and its skeleton: its lines and who said it.
export default function Skeleton() {
  return (
    <div className="sy-cols sy-cols--stack">
      <Quote author="Bo Chen" role="Developer, Northwind">Errors come with the fix already written.</Quote>
      <QuoteSkeleton lines={2} />
    </div>
  );
}

When to use it

Use it when

  • Testimonials, quotes from users.

Do not use it when

  • Sypnia speaking: use Says.

For everyone

  • It is a figure with a blockquote and a caption that names the person.

Props

QuoteTypeDefault
author string
cite

The address where it was said.

string
role

Their role and company: «CTO, La Espiga».

ReactNode
size "md" | "lg" md
src

Their picture.

string
QuoteSkeletonTypeDefault
author boolean true
lines number 3
size "md" | "lg" md
  1. Customers
  2. In Astro
  3. Skeleton
  4. When to use it
  5. For everyone
  6. Props

    Search pages, sections and terms