footer_link: Create a footer link for use in 'footer()' function

View source: R/footer.R

footer_linkR Documentation

Description

Create a footer link for use in footer() function

Usage

footer_link(link, link_name = NULL)

Arguments

link

Character string containing either link text or url

link_name

Name of a link where a URL has been provided in link_text

Value

HTML tag list item

Examples

# Internal (i.e. within dashboard) link
shinyGovstyle:::footer_link("Cookie statement")
# Named internal link
shinyGovstyle:::footer_link("cookie_statement", "Cookies")
# External link
shinyGovstyle:::footer_link(
  "https://www.gov.uk/government/organisations/government-digital-service",
  "Government Digital Service"
)

shinyGovstyle documentation built on April 13, 2026, 5:06 p.m.