icon_link {formods}R Documentation

Creates Icon Link

Description

Creates a link to a Shiny icon

Usage

icon_link(href, target = "_blank", icon_name = "circle-info")

Arguments

href

URL to link to.

target

New tab name.

icon_name

Name of icon to use (arguemnt to shiny::icon, default: "circle-info")

Value

A list with a shiny.tag class that can be converted into an HTML string via as.character() and saved to a file with save_html(). Note if href is NULL then NULL is returned.

Examples

icon_link(href="https://formods.ubiquity.tools")

[Package formods version 0.1.5 Index]