RayCraftDocs
v1.0.3 raycraft.dev
On this page

Typography

Free

Headings, body text, captions and overlines with the theme font and sizes. Headings render real h1 to h6 elements.

Example

Typography control

Parameters

ParameterTypeDescription
AlignTextAlignLeft (default), Center or Right.
ChildContentRenderFragmentContent rendered inside the component.
ClassstringExtra CSS classes added to the root element.
ColorTypographyColorDefault, Muted, Primary, Info, Success, Warning or Error.
NoWrapboolKeeps the text on one line and cuts it with an ellipsis.
StylestringInline style added to the root element.
VariantTypographyVariantH1 to H6, Subtitle, Body (default), Caption or Overline.

Package

Typography is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.