Name Type Default Description
align enum: 'inherit', 'left', 'center', 'right', 'justify'
'inherit' Set the text-align on the component.
children node The content of the component.
classes object Override or extend the styles applied to the component. See CSS API below for more details.
color enum: 'inherit', 'primary', 'textSecondary', 'secondary', 'error', 'default'
'default' The color of the component. It supports those theme colors that make sense for this component.
component union: string |
The component used for the root node. Either a string to use a DOM element or a component. By default, it maps the variant to a good default headline component.
gutterBottom bool false If true, the text will have a bottom margin.
headlineMapping object { display4: 'h1', display3: 'h1', display2: 'h1', display1: 'h1', headline: 'h1', title: 'h2', subheading: 'h3', body2: 'aside', body1: 'p',} We are empirically mapping the variant property to a range of different DOM element types. For instance, h1 to h6. If you wish to change that mapping, you can provide your own. Alternatively, you can use the component property.
noWrap bool false If true, the text will not wrap, but instead will truncate with an ellipsis.
paragraph bool false If true, the text will have a bottom margin.
variant enum: 'display4', 'display3', 'display2', 'display1', 'headline', 'title', 'subheading', 'body2', 'body1', 'caption', 'button'
'body1' Applies the theme typography styles.

Any other properties supplied will be spread to the root element.


You can override all the class names injected by Material-UI thanks to the classes property. This property accepts the following keys:

  • root
  • display4
  • display3
  • display2
  • display1
  • headline
  • title
  • subheading
  • body2
  • body1
  • caption
  • button
  • alignLeft
  • alignCenter
  • alignRight
  • alignJustify
  • noWrap
  • gutterBottom
  • paragraph
  • colorInherit
  • colorPrimary
  • colorSecondary
  • colorTextSecondary
  • colorError

Have a look at overriding with classes section and the implementation of the component for more detail.

If using the overrides key of the theme as documented here, you need to use the following style sheet name: MuiTypography.