# Appearance

The Typography component provides many predefined appearance options, such as the ability to configure the alignment, size, weight, and color of the text.

## Font Size

To set the font size of the element, use the [`fontSize`](https://www.telerik.com/kendo-react-ui/components/common/api/typographyprops#fontSize) property.

The possible values are:

* `xsmall`
* `small`
* `medium`
* `large`
* `xlarge`

[Demo Source](https://demos.telerik.com/kendo-react-ui/common/typography/appearance/font-size/func/source.txt)

## Font Weight

To set the font weight of the element, use the [`fontWeight`](https://www.telerik.com/kendo-react-ui/components/common/api/typographyprops#fontweight) property.

The possible values are:

* `light`—font-weight: 300
* `normal`—font-weight: 400
* `bold`—For Default and Bootstrap themes—font-weight: 700. For Material theme—font-weight: 500.

[Demo Source](https://demos.telerik.com/kendo-react-ui/common/typography/appearance/font-weight/func/source.txt)

## Text Alignment

To set the text alignment of the element, use the [`textAlign`](https://www.telerik.com/kendo-react-ui/components/common/api/typographyprops#textalign) property.

The possible values are:

* `left`—Applies text-align: left
* `right`—Applies text-align: right
* `center`—Applies text-align: center
* `justify`—Applies text-align: justify

[Demo Source](https://demos.telerik.com/kendo-react-ui/common/typography/appearance/text-align/func/source.txt)

## Text Transformation

To set the text transformation of the element, use the [`textTransform`](https://www.telerik.com/kendo-react-ui/components/common/api/typographyprops#texttransform) property.

The possible values are:

* `lowercase`—Applies text-transform: lowercase
* `uppercase`—Applies text-transform: uppercase
* `capitalize`—Applies text-transform: capitalize

[Demo Source](https://demos.telerik.com/kendo-react-ui/common/typography/appearance/text-transform/func/source.txt)

## Theme Color

To set the color of the element, use the [`themeColor`](https://www.telerik.com/kendo-react-ui/components/common/api/typographyprops#themecolor) property.

The possible values are:

* `inherit`—Applies coloring based on the current color.
* `primary` —Applies coloring based on primary theme color.
* `secondary`—Applies coloring based on secondary theme color.
* `tertiary`—Applies coloring based on tertiary theme color.
* `info`—Applies coloring based on info theme color.
* `success`—Applies coloring based on success theme color.
* `warning`—Applies coloring based on warning theme color.
* `error`—Applies coloring based on error theme color.
* `inverse`—Applies coloring based on inverse theme color.

You can use the `style` property to apply custom color related properties to the element.

[Demo Source](https://demos.telerik.com/kendo-react-ui/common/typography/appearance/theme-color/func/source.txt)

## Margin

To set the margin of the element or its side margins, use the [`margin`](https://www.telerik.com/kendo-react-ui/components/common/api/typographyprops#margin) property.

The possible values are:

* `xsmall`
* `small`
* `medium`
* `large`
* `xlarge`
* `thin`
* `hair`
* [`number`](https://www.telerik.com/kendo-react-ui/components/common/api/marginenum)—The minimum number value is 0 and the maximum is 24.
  > When using the Default or Material themes, passing a number will apply a margin of 4 times the passed number in pixels.
  > When using the Bootstrap theme the applied margin will be equal to the passed number divided by 4 in rem units.

[Demo Source](https://demos.telerik.com/kendo-react-ui/common/typography/appearance/margin/func/source.txt)

## Suggested Links

* [API Reference of the Typography](https://www.telerik.com/kendo-react-ui/components/common/api/typography)
* [API Reference of the TypographyProps](https://www.telerik.com/kendo-react-ui/components/common/api/typographyprops)
* [Creating Custom Styles](https://www.telerik.com/kendo-react-ui/components/styling/theme-builder)
