Skip to main content

Your opinion matters! Together with you, we want to continuously improve KoliBri. Share your ideas, wishes, or suggestions—quickly and easily.

Quote

The Quote component has two variants, a short body text ("inline") and an indented ("block") variant. Both versions contain a link to the source of the quote.

Construction

Variant
<KolQuote _href="https://public-ui.github.io/en/docs" _label="KoliBri" _quote="Together, we make HTML semantically accessible using reusable Web Components to ensure usability and accessibility." _variant="block" />

A heading can be set using _label, while _quote contains the actual quote. The origin is set via _href. The inline variant is standard, if indented is desired, _variant can be set to block.

References

Properties

PropertyAttributeDescriptionTypeDefault
_href (required)_hrefSets the target URI of the link or citation source.stringundefined
_label_labelDefines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).string | undefinedundefined
_quote (required)_quoteDefines the text of the quote.stringundefined
_variant_variantDefines which variant should be used for presentation."block" | "inline" | undefined'inline'

Examples