R: Custom background image for your shinyapp

setBackgroundImage {shinyWidgets} | R Documentation

## Custom background image for your shinyapp

### Description

Allow to change the background image of your shinyapp.

### Usage

    setBackgroundImage(src = NULL)

### Arguments

`src` | Background url or path.

### Note

Use with moderation. The image while cover the entire screen (no repeat, cover).

### Examples

    ## Not run:

    if (interactive()) {

    library(shiny)
    library(shinyWidgets)

    ui <- fluidPage(
      tags$h2("Add a shiny app background image"),
      setBackgroundImage(src = "http://wallpics4k.com/wp-content/uploads/2014/07/470318.jpg")
    )

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

    }

    shinyApp(ui, server)

    }

    ## End(Not run)

[Package shinyWidgets version 0.4.3 Index]