nuxt-x-affiliate
Expert Quote
Pull-quote from a named expert with avatar initials, role, optional credentials, and link to view credentials.
Expert Quote
The XAFExpertQuote component renders a callout quote from a named expert — useful for E-E-A-T signals on YMYL topics (medical, financial, legal). Two variants: card (full blockquote with avatar initials, role, and optional "View credentials" link) and inline (a compact pull-quote).
Components
<XAFExpertQuote />
<XAFExpertQuote
text="The MX Keys S is the most comfortable wireless keyboard I've tested for long-form writing."
:source="{ name: 'Dr. Jane Smith', role: 'Ergonomics Researcher', href: 'https://example.com/jane' }"
credentials="PhD, Human Factors"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
text | string | required | Quote body. |
source | QuoteSource | required | { name, role?, href? }. |
credentials | string | — | Optional credential badge (e.g. "PhD, Materials Science"). |
variant | 'card' | 'inline' | 'card' | Visual variant. |
The card variant is recommended for above-the-fold / hero expert quotes; use inline for mid-article callouts where a full blockquote would interrupt the flow.
AI Context
component: XAFExpertQuote
package: "@xenterprises/nuxt-x-affiliate"
use-when: Pull-quote from a named expert with credentials and link to view credentials, for E-E-A-T.
