PropertyAttributeDescriptionTypeDefaultalign alignText alignment of the component.type DisplayAlign = 'start' 'center' 'end' 'inherit' 'left' 🚫 'right' 🚫'start'color colorBasic text color variations depending on theme property.type DisplayColor = 'primary' 'inherit''primary'ellipsis ellipsisAdds an ellipsis to a single line of text if it overflows.booleanfalsesize 🛠sizeSize of the component. Also defines the size for specific breakpoints, like {base: "medium", l: "large"}. You always need to provide a base value when doing this.type DisplaySize = 'small' 'medium' 'large' 'inherit' BreakpointCustomizable<DisplaySize>'large'tag tagSets a heading tag, so it fits correctly within the outline of the page.type DisplayTag = undefined 'h1' 'h2' 'h3' 'h4' 'h5' 'h6'undefinedtheme themeAdapts the text color depending on the theme. Has no effect when "inherit" is set as color prop.type Theme = 'light' 'dark' 'auto''light'
Slots
prev
next
SlotDescriptionisRequiredaltPropallowedTagNames<slot> Default slot for the display text.