IBlockquoteProps
interface
Component Props
Full props contract for <OrigamBlockquote> — typographic citation component built on <blockquote>. Exposes five visual variants, author/source attribution, locale-aware decorative quote marks, horizontal alignment, and the full design surface (color, border, spacing, elevation, rounded).
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
Inheritance
Extends
Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- variantTBlockquoteVariant'default'
- Visual variant — 'default', 'bordered', 'pull', 'quoted' or 'minimal'. Controls typography and decorative elements.
- authorstring
- Author of the citation. Rendered after the body as "— Author". Can be overridden via the #author slot.
- sourcestring
- Source of the citation (book, publication, URL label). Rendered after author as ", Source". Can be overridden via the #source slot.
- citestring
- URL the citation references. Maps 1:1 to the HTML cite attribute on the rendered <blockquote>.
- langTBlockquoteLang'auto'
- Locale hint that determines which decorative quote glyphs render for variant='quoted'.
- alignTBlockquoteAlign'left'
- Horizontal alignment of the citation body and attribution. The 'pull' variant forces 'center' when this prop is left empty.
- quoteMarkboolean
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Quoted blockquote with author and source