---json { "description": "itext is a component that applies typographic effect to characters or words such as boldness, font-size and more", "page_id": "2ykx98a7cyrdr4kbe0d04", "title": "itext: applies typographic effect to characters or words" } --- ====== ComboStrap UI - Itext ====== ===== About ===== ''itext'' is a [[docs:content:typo|typographic component]] that permits to applies typographic effects to one or more characters / words. * It's an [[docs:content:content|inline component]]. Therefore, it can be used in a line and will not create a new line. * If you want to applies the [[docs:content:typo|typographic attributes]] on a paragraph, you should use the [[docs:block:text|text component]]. ===== Syntax ===== where: * attributes are any [[docs:content:typo|typographic attributes]] Note that the [[docs:styling:text-color|color attribute]] can take all [[docs:styling:color|color values]] and the [[#color|specific text colors]]: * ''body'': the color of the body * ''muted'' : light gray * ''black-50'' : 50 black * ''white-50'' : 50 white ===== Example ===== ==== Boldness ==== With [[docs:styling:boldness|boldness]]: * Input This text is a black text * Output: ==== First letter ==== With the [[docs:styling:font-size|font-size attribute]] * Input: The first letter has the same size than the first heading * Output: ==== Color ==== This example shows the color values specific to the itext and [[docs:block:text|text]] component Text with the body color. Text with the muted color. Text with the black-50 color. Text with the white-50 color.