Display a testimonial quote with author attribution and source link.
awesome. Love the components, especially slide-to-unlock. Great job
Guillermo Rauch , CEO @Vercel
Installation
Copy the Source Code
Copy and paste the following code into your project:
index.ts
testimonial-2.svelte
Usage
usage.svelte
Features
- Displays a testimonial quote with author name and tagline
- Links out to the original source (e.g., a tweet) through its URL prop
Props
Testimonial2
Quote and author attribution with an external profile link.
| Name | Type | Default | Description |
|---|---|---|---|
authorName | string | required | Full display name of the testimonial author. |
authorTagline | string | required | Short title or description shown beside the author. |
url | string | required | Link to the author's profile, website, or social page. |
quote | string | required | Testimonial quote content. |
class | string | undefined | Additional classes applied to the figure. |