The text component displays a paragraph of text.
Hello World!
rc.text("Hello World!", font_size="2em")
The text element can be visually modified using the as_
prop.
Hello World!Hello World!Hello World!Hello World!
rc.vstack(
rc.text("Hello World!", as_="i"),
rc.text("Hello World!", as_="s"),
rc.text("Hello World!", as_="mark"),
rc.text("Hello World!", as_="sub"),
)