IBlockquoteProps
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
Définition
La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Héritage
Hérite de
Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.
API
Propriétés
Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.
- 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
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Quoted blockquote with author and source