text-transform
Utilities for controlling the capitalization of text.
| Class | Effect |
|---|---|
uppercase |
text-transform: uppercase; |
lowercase |
text-transform: lowercase; |
capitalize |
text-transform: capitalize; |
normal-case |
text-transform: none; |
Examples
Section titled “Examples”Basic example
Section titled “Basic example”

if ui.div("flex flex-col gap-5") { for c in ([]string{"normal-case", "uppercase", "lowercase", "capitalize"}) { ui.key(c) specimen(c, ui.cx("text-lg font-medium", c)) }}