Library
/
Chakra
/
Typography
/
Text
The text component displays a paragraph of text.
Hello World!
rx.chakra.text("Hello World!", font_size="2em")
The text element can be visually modified using the as_
prop.
rx.chakra.vstack(
rx.chakra.text("Hello World!", as_="i"),
rx.chakra.text("Hello World!", as_="s"),
rx.chakra.text("Hello World!", as_="mark"),
rx.chakra.text("Hello World!", as_="sub"),
)
Did you find this useful?