build_app_title: Build app title with favicon

View source: R/utils.R

build_app_titleR Documentation

Build app title with favicon

Description

A helper function to create the browser title along with a logo.

Usage

build_app_title(
  title = "teal app",
  favicon =
    "https://raw.githubusercontent.com/insightsengineering/hex-stickers/main/PNG/nest.png"
)

Arguments

title

(character) The browser title for the teal app.

favicon

(character) The path for the icon for the title. The image/icon path can be remote or the static path accessible by shiny, like the ⁠www/⁠

Value

A shiny.tag containing the element that adds the title and logo to the shiny app.


teal documentation built on May 29, 2024, 10:11 a.m.