text-align
Utilities for controlling the alignment of text.
| Class | Effect |
|---|---|
text-left |
text-align: left; |
text-center |
text-align: center; |
text-right |
text-align: right; |
text-justify |
text-align: justify; |
text-start |
text-align: start; |
text-end |
text-align: end; |
Examples
Section titled “Examples”text-left
Section titled “text-left”

ui.text(PROSE, ui.cx("max-w-md text-sm/6 text-gray-700 dark:text-gray-300", c))text-center
Section titled “text-center”

ui.text(PROSE, ui.cx("max-w-md text-sm/6 text-gray-700 dark:text-gray-300", c))text-right
Section titled “text-right”

ui.text(PROSE, ui.cx("max-w-md text-sm/6 text-gray-700 dark:text-gray-300", c))