A convenience component to apply possible AXA text styles to a piece of text.
It accepts simple text strings as children or top-level HTML tags like <p>
or <span>
. Nested HTML tags are not supported.
Attribute | Details |
---|---|
variant="size-2" |
Bigger Text Size |
variant="size-3" |
Large Text Size |
variant="size-4" |
Small Text Size |
variant="bold" |
Bold Text |
variant="semibold" |
Semi-Bold Text |