Tailwind CSS Typography - React

Use our Tailwind CSS Typography to present your website/web app as clearly and efficiently as possible.

Below we are presenting a simple Typography component example. It comes in different styles and colors, so you can adapt it easily to your needs.


Material Tailwind is an easy to use components library for Tailwind CSS and Material Design. It provides a simple way to customize your components, you can change the colors, fonts, breakpoints and everything you need.

import { Typography } from "@material-tailwind/react";
 
export default function Example() {
  return (
    <Typography>
      Material Tailwind is an easy to use components library for Tailwind CSS
      and Material Design. It provides a simple way to customize your
      components, you can change the colors, fonts, breakpoints and everything
      you need.
    </Typography>
  );
}

Typography Variants

The Typography component comes with 9 different variants that you can change it using the variant prop.

Material Tailwind

Material Tailwind

Material Tailwind

Material Tailwind

Material Tailwind
Material Tailwind

Material Tailwind is an easy to use components library for Tailwind CSS and Material Design. It provides a simple way to customize your components, you can change the colors, fonts, breakpoints and everything you need.

Material Tailwind is an easy to use components library for Tailwind CSS and Material Design. It provides a simple way to customize your components, you can change the colors, fonts, breakpoints and everything you need.

Material Tailwind is an easy to use components library for Tailwind CSS and Material Design. It provides a simple way to customize your components, you can change the colors, fonts, breakpoints and everything you need.

import { Fragment } from "react";
import { Typography } from "@material-tailwind/react";
 
export default function Variants() {
  return (
    <Fragment>
      <Typography variant="h1">Material Tailwind</Typography>
      <Typography variant="h2">Material Tailwind</Typography>
      <Typography variant="h3">Material Tailwind</Typography>
      <Typography variant="h4">Material Tailwind</Typography>
      <Typography variant="h5">Material Tailwind</Typography>
      <Typography variant="h6">Material Tailwind</Typography>
      <Typography variant="lead">
        Material Tailwind is an easy to use components library for Tailwind CSS
        and Material Design. It provides a simple way to customize your
        components, you can change the colors, fonts, breakpoints and everything
        you need.
      </Typography>
      <Typography variant="paragraph">
        Material Tailwind is an easy to use components library for Tailwind CSS
        and Material Design. It provides a simple way to customize your
        components, you can change the colors, fonts, breakpoints and everything
        you need.
      </Typography>
      <Typography variant="small">
        Material Tailwind is an easy to use components library for Tailwind CSS
        and Material Design. It provides a simple way to customize your
        components, you can change the colors, fonts, breakpoints and everything
        you need.
      </Typography>
    </Fragment>
  );
}

Typography Colors

The Typography component comes with 23 different colors that you can change it using the color prop, below there are some examples of the colors but you can check all of the them here.

Material Tailwind

Material Tailwind

Material Tailwind

Material Tailwind

import { Fragment } from "react";
import { Typography } from "@material-tailwind/react";
 
export default function Colors() {
  return (
    <Fragment>
      <Typography variant="h1" color="blue-gray">
        Material Tailwind
      </Typography>
      <Typography variant="h1" color="blue">
        Material Tailwind
      </Typography>
      <Typography variant="h1" color="red">
        Material Tailwind
      </Typography>
      <Typography variant="h1" color="green">
        Material Tailwind
      </Typography>
    </Fragment>
  );
}

Typography Gradient Colors

You can change the Typography text color into a gradient color using the textGradient prop.

Material Tailwind

import { Typography } from "@material-tailwind/react";
 
export default function GradientColor() {
  return (
    <Typography variant="h1" color="blue" textGradient>
      Material Tailwind
    </Typography>
  );
}
Edit this page on Github