# NOT RUN {
if (interactive()) {
library(shiny)
library(shiny.semantic)
ui <- semanticPage(
extendShinySemantic(),
fui_el$grid(
fui_el$row(
class = "two column",
fui_el$column(
fui_el$segment(
class = "purple",
darkmode_toggle()
)
),
fui_el$column(
fui_el$segment(
class = "red keep-inverted-state"
)
)
)
),
fui_el$cards(
class = "two",
fui_el$card(),
fui_el$card()
)
)
server <- function(input, output, session) {}
shiny::shinyApp(ui, server)
}
# }
Run the code above in your browser using DataLab