Typography
Typography is used to create a hierarchy of information on a page.
El
component has a
tag
string property. This property can be used to
create any HTML element. For example, to create a
h1
element, you can use the following
code:
El
component can be used to create headings. Headings are used to create a hierarchy
of information on a page. They are used to create a visual hierarchy of information on a page.
Organize longer pieces of text into paragraphs using
El
component by setting
tag="p"
.
Use a variety of semantic text elements, depending of how you want to display particular
fragments of content.
El
component can be used to create semantic text elements. For example, to create
a
strong
element, you can use the following code:
<El tag="strong">This text is important</El>
We have a
Divider
component to create horizontal rules. The default
slot
can be used to create a label for the divider. For more information, see
Divider component.
El
component has a
textTransform
property. This property can be used
to transform text into
uppercase
,
lowercase
, or
capitalize
.