Reference
Blockquote
Quotation: the text, or its block as the quoted content.
Blockquote(_ content: String or Number or Bool) { … }
Before 5.0
No props to try.
We moved the whole docs site over in a weekend, and the compiler caught every broken link.
Ada Lovelace, platform team
Example
Blockquote {
Text("We moved the whole docs site over in a weekend, and the compiler caught every broken link.").italic
Text("Ada Lovelace, platform team").muted.sm
}
One line, given as text
Blockquote("Make it work, make it right, make it fast.")
Props
| Prop | Type | Unset | Meaning |
|---|---|---|---|
content | String or Number or Bool (positional) | none | The quoted text; unset, its block |
Attribute families: global, aria, data. Plus the 22 universal props every element takes: animate:, exit:, speed:, duration:, delay:, easing:, stagger:, on:, count:, shared:, class:, ref:, drag:, dragGroup:, dropValue:, dropAxis:, dropInside:, roving:, trapFocus:, mount:, update:, cleanup:.
Flags and cases
A flag is written after the parentheses with a dot: a Bool prop, or a case of one of the element's enum props. A case the enum lacks is an error with a hint.
No flags of its own.
Events
Every element also takes the props, the events and the attribute families listed on every element.
Slots
children
Renders with the class wf-blockquote, stable across releases, so a stylesheet may target it.
Codes this can raise
These controls list the props' cases; the example below shows them written.