IzzyBlazor.Blockquote in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly
and its doc comments.
Properties (13)
ChildContentRenderFragment?The quotation: text, or paragraphs for a longer one.
Authorstring?Who said or wrote it, shown under the quote after a dash. Plain text: the HTML spec keeps cite for titles, not people.
Sourcestring?The title of the work it comes from, such as a book, article or talk, shown after the Author in a cite element.
Citestring?VariantBlockquoteVariant = BlockquoteVariant.BarThe look. Defaults to BlockquoteVariant.Bar, a line at the start.
AccentAccent?A color for the bar, the tint and the quote mark, such as Accent.Primary or Accent.Of("#0d9488"). Without one, they're neutral.
QuoteMarkbool = falseAdds a large quote mark above the quote, as for a pull quote. Decoration only.
AlignTextAlign = TextAlign.StartWhere the quote and its attribution sit. TextAlign.Center drops the bar, as a pull quote does; TextAlign.End moves it to the end.
SizeTextSize?The text size of the quote; the attribution is a step smaller. Inherited when not set.
MinSizeTextSize?The smallest the quote gets on a narrow screen: with Size, it scales between the two with the screen's width, as a Heading's MinSize does.
Plus 17 item props and 4 common props.
Show them hereEvents (0)
No events.
Types (4)
Accent
classThe color of a control: buttons, badges, tags, banners, progress bars and menu items. Primary, Neutral and Danger are the roles; emphasis comes from the variant (solid, soft, outline, ghost, link), not from more colors. For one control in another color, use Of (any CSS color) or Token (a theme token); text on it is chosen for contrast.
| Member | Description |
|---|---|
Primary | The brand color, for the main action. |
Neutral | A quiet, gray action. |
Danger | A destructive action, such as Delete. |
Of(string css) | Any CSS color, such as |
Token(string name) | A theme token, such as |
From(Color color) | A |
BlockquoteVariant
enumA Blockquote's look.
| Value | Description |
|---|---|
Bar | A line at the start (the default), as Prose draws a quote. |
Subtle | A tinted panel with the line at the start. |
Plain | No line or tint: the quote set apart by its space and attribution alone. |
TextAlign
enumHorizontal text alignment. Start and End follow the reading direction.
| Value | Description |
|---|---|
Start | Left in left-to-right languages. |
Center | Centered. |
End | Right in left-to-right languages. |
Justify | Justified to both edges. |
TextSize
enumFont size tokens, from TextSize.Xs (12px) to TextSize.Xl6 (60px).
| Value | Description |
|---|---|
Xs | 12px. |
Sm | 14px. |
Md | 16px, the body size. |
Lg | 18px. |
Xl | 20px. |
Xl2 | 24px. |
Xl3 | 30px. |
Xl4 | 36px. |
Xl5 | 48px. |
Xl6 | 60px. |