React Typography - Argon

The ArgonTypography component provides different options for creating different typography elements. It uses MUI Typography in base and you can use all of the props from MUI Typographyfor the ArgonTypography component.


The below codes are editable and you can modify them the way you want directly from your browser, please use the green button or the ctrl + s to save the changes.

Demo

// Argon Dashboard 2 MUI Components import ArgonTypography from "components/ArgonTypography";

Typography

Props Information

NameTypeDefaultDescription
color'inherit''primary''secondary''info''success''warning''error''light''dark''text''white'darkChange the ArgonTypography text color.
fontWeight'false''light''regular''medium''bold'falseChange the ArgonTypography font weight.
textTransform'none''capitalize''uppercase''lowercase'noneSpecifies how to capitalize text inside the ArgonTypography.
verticalAlign'unset''baseline''sub''super''text-top''text-bottom''middle''top''bottom'unsetSpecifies how to align text vertically inside the ArgonTypography.
textGradientboolfalseIf true the ArgonTypography text will be a gradient.
opacitynumber1Specifies the opacity of the text inside the ArgonTypography.
children*nodeUse to pass node or content inside the ArgonTypography, its the only required prop.
MUI PropsYou can pass all of the MUI Typography props for the ArgonTypography as well.

Variants

// Argon Dashboard 2 MUI Components import ArgonTypography from "components/ArgonTypography";

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
Subtitle 1
Subtitle 2

Body 1

Body 2

Button Caption Overline

Inherit

Gradient Text

// Argon Dashboard 2 MUI Components import ArgonTypography from "components/ArgonTypography";

Gradient Text