Docs

Blog

Gallery

Resources

Learn

Components

API Reference

Onboarding

Pages

/

Metadata

You can add page metadata such as:

  • The title to be shown in the browser tab
  • The description as shown in search results
  • The preview image to be shown when the page is shared on social media
  • Any additional metadata
@rx.page(
    title="My Beautiful App",
    description="A beautiful app built with Reflex",
    image="/splash.png",
    meta=meta,
)
def index():
    return rx.text("A Beautiful App")


@rx.page(title="About Page")
def about():
    return rx.text("About Page")


meta = [
    {"name": "theme_color", "content": "#FFFFFF"},
    {"char_set": "UTF-8"},
    {"property": "og:url", "content": "url"},
]

app = rx.App()

← Dynamic RoutingOverview →

Did you find this useful?

HomeGalleryChangelogIntroductionHosting