Ir al contenido

Quote

Lo que dijo una persona, con sus palabras: un cliente en la landing, una línea de una conversación de soporte. En la letra de la voz, con quién lo dijo.

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

En esta página
  1. Clientes
  2. En Astro
  3. Skeleton
  4. Cuándo usarlo
  5. Para todos
  6. Props

Clientes

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
Código
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>
  );
}

En Astro

We stopped losing orders on Sundays.
LGLucía GómezOwner, La Espiga
Código
---
// 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
Código
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>
  );
}

Cuándo usarlo

Úsalo cuando

  • Testimonios, citas de usuarios.

No lo uses cuando

  • Sypnia hablando: usa Says.

Para todos

  • Es una figura con un blockquote y un pie que nombra a la persona.

Props

QuoteTipoPor defecto
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
QuoteSkeletonTipoPor defecto
author boolean true
lines number 3
size "md" | "lg" md
  1. Clientes
  2. En Astro
  3. Skeleton
  4. Cuándo usarlo
  5. Para todos
  6. Props

    Busca páginas, secciones y términos