Use <base-quote> to highlight testimonials, excerpts, and quotes with various styles and layouts.
The default quote variant uses a simple left border to set it apart from normal text.
Displays a large quote icon above the text for more visual impact.
Positions the author's avatar to the left of the quote text.
Run the following command to add this component to your project:
npx base-ui-cli add quote
For AI agents
Copy a prompt with the registry name, CLI install, and import — or add the Base UI MCP server.
npx -y base-ui-mcp
Base UI provides standalone components. Import the exact elements you want to use into your component.
// Install: npx base-ui-cli add quote
// Paths are relative to aliases.components (default: src/app/components)
import { QuoteComponent } from './quote/quote.component';
@Component({
selector: 'app-your-component',
imports: [
QuoteComponent
],
template: `...`
})
export class YourComponent {} API for quote — generated from JSDoc in the library source.
| API | Member | Type | Default | Description |
|---|---|---|---|---|
base-quote | variant | QuoteVariant | 'default' | The structural and visual layout variant of the quote. |
base-quote | authorName | string | — | The name of the person being quoted. |
base-quote | authorRole | string | — | The subtitle or role of the author (e.g. "CEO, Company"). |
base-quote | avatarUrl | string | — | The URL to the author's avatar image. Primarily used in 'avatar-left' variant. |
base-quote | iconColor | 'primary' | 'success' | 'danger' | 'warning' | 'accent' | 'default' | string | 'primary' | The semantic color name for the quote icon. Defaults to 'primary'. |
Content