Learn R Programming

shinyNextUI (version 0.1.0)

divider: divider

Description

Divider is a component that separates content in a page.

Usage

divider(...)

Value

An object of class shiny.tag containing the necessary configuration and including options such as JavaScript dependencies to instantiate a HeroUI divider component.

Arguments

...

Props to pass to the component. The allowed props are listed below in the Details section.

Details

  • orientation. Type: `horizontal` OR `vertical`. Default: "`horizontal`".

See Also

Examples

Run this code
library(shiny)
library(shinyNextUI)
library(shiny.react)

ui <- nextui_page(
  debug_react = TRUE,
  card(
    card_header("Header"),
    divider(),
    card_body("Body"),
    divider(),
    card_footer("Footer")
  )
)

server <- function(input, output, session) {

}

if (interactive() || is_testing()) shinyApp(ui, server)

Run the code above in your browser using DataLab