Skip to content

Quote โ€‹

...

Browser support โ€‹

...

Parameters โ€‹

The CSS component uses the <blockquote> tag with the z-quote HTML custom attribute.

The parametrization of the component can be done with the following custom HTML params:

NameTypeDescription
z-quotestringCustom attribute for the quote component
contentstringThe quote content
quote-srcstringThe source of the quote
author-namestringThe name of the author
descriptionstringThe description of the quote
image-srcstringThe image source of the quote

INFO

Check the z-quote anatomy to know the specifications for this component. Use the Playground to see how you can customize this component.

Playground โ€‹

Customization โ€‹

HTML Examples โ€‹

Imports
html
<link rel="stylesheet" href="/0.3.6/@zurich/css-components/base.css" />
<link rel="stylesheet" href="/0.3.6/@zurich/css-components/Quote.css" />
Code
html
<blockquote z-quote>
  <p>Lorem ipsum dolor sit amet. Quo rerum dolorem ut velit exercitationem id aperiam omnis vel</p>
  <footer>
    <header>John Doe</header>
    <p>Description</p>
  </footer>
  <img src="../sample.png" alt="Quote image" />
</blockquote>