rx.vstack(
rx.html("<h1>Hello World</h1>"),
rx.html("<h2>Hello World</h2>"),
rx.html("<h3>Hello World</h3>"),
rx.html("<h4>Hello World</h4>"),
rx.html("<h5>Hello World</h5>"),
rx.html("<h6>Hello World</h6>"),
)
class_name="prose"
, adding @tailwindcss/typography
package to frontend_packages
and enabling it via tailwind
config in rxconfig.py
. See the Tailwind docs for an example of adding this plugin.rx.vstack(
rx.html(
"<img src='https://reflex.dev/reflex_banner.png' />"
),
)
Render the html.
Returns: The code to render the html component.