• What is KendoReact
  • Getting Started
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Formupdated
    • Ganttupdated
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBox
    • ListView
    • Map
    • Notification
    • OrgChartnew
    • PDF Processing
    • PDFViewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

Appearance

The Typography component provides many predefined appearance options such as configure the the alignment and transformation of the text, and also change the theme color.

Text Alignment

To set the text alignment of the element, use the 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
Example
View Source
Change Theme:

Text Transformation

To set the text transformation of the element, use the textTransform property.

The possible values are:

  • lowercase—Applies text-transform: lowercase
  • uppercase—Applies text-transform: uppercase
  • capitalize—Applies text-transform: capitalize
Example
View Source
Change Theme:

Theme Color

To set the color of the element, use the 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.
  • dark— Applies coloring based on dark theme color.
  • light— Applies coloring based on light 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.

Example
View Source
Change Theme: