inst/examples/demo/R/home_page.R

homePage <- function(i18n) {
  tagList(
    shiny.i18n::usei18n(i18n),
    makePage(
      i18n$t("This is a Fluent UI app built in Shiny"),
      "shiny.react + Fluent UI = shiny.fluent",
      div(
        makeCard(
          i18n$t("Welcome to shiny.fluent demo!"),
          Stack(
            Text(i18n$t("shiny.fluent is a package that allows you to build Shiny apps using Microsoft's Fluent UI.")),
            Text(i18n$t("Use the menu on the left to explore live demos of all available components."))
          )
        )
      )
    )
  )
}

Try the shiny.fluent package in your browser

Any scripts or data that you put into this service are public.

shiny.fluent documentation built on May 29, 2024, 5:45 a.m.