icon_link: Creates Icon Link

View source: R/formods.R

icon_linkR Documentation

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")

formods documentation built on April 12, 2025, 1:57 a.m.