Blockquote
Alignment target:@astryxdesign/core v0.7.1 · Blockquote
Design is not just what it looks like and feels like. Design is how it works.
The people who are crazy enough to think they can change the world are the ones who do. Steve Jobs
Usage #
Import the component from its dedicated entry. The component loads its structural styles.
Import the theme in your application entry:
TypeScript
import '@astryx-vue/themes/neutral.css'Component usage:
Vue
<script setup lang="ts">
import { Blockquote } from '@astryx-vue/core/Blockquote'
</script>
<template>
<Blockquote cite="Steve Jobs">
Design is not just what it looks like and feels like. Design is how it works.
</Blockquote>
</template>Anatomy
| Element | Description |
|---|---|
| Rule | The border on the inline-start edge, drawn with --color-border-emphasized. |
| Quotation | The quoted content, passed in the default slot. Renders inside the <blockquote> element. |
| Attribution | The source, passed as cite. Renders as a <cite> element below the quotation. |
Best practices #
| Guidance | Practices |
|---|---|
| Do | Use for quoted text, testimonials, or highlighted excerpts from external sources. |
| Do | Provide a cite prop when the source of the quote is known. |
| Don't | Use for callout boxes or informational notes; use Banner for those. |
Examples #
Blockquote — Testimonials
Shipping UI has never been this fast. Our team went from design to production in a single afternoon. Sarah K., Lead Engineer
The token system means every new screen just looks right — no manual color or spacing decisions. Marcus T., Product Designer
Onboarding a new engineer used to take a week of design review. Now they're shipping accessible, polished components on day one. Priya L., Engineering Manager
Multiple quotes arranged in a card grid for a testimonials section. Combine with Card and Grid to create social-proof layouts.
Blockquote — With attribution
Design is not just what it looks like and feels like. Design is how it works.
The people who are crazy enough to think they can change the world are the ones who do. Steve Jobs
A plain quote and a quote with a cite attribution. Use cite to credit the original author or source.