Read an individual icon

read_icon(x)

Arguments

x

Path to the icon

Value

An icon object: an SVG htmltools tag that can be printed, embedded in R Markdown, or styled with icon_style(). If x is a file path, it is retained and can be retrieved with icon_path().