ui_icons: Iterative generation of icons

ui_iconsR Documentation

Iterative generation of icons

Description

Generates a list of icons based on the provided parameters using 'shiny::icon'.

Usage

ui_icons(name, class = NULL, lib = "font-awesome", ...)

Arguments

name

(character) The name(s) of the icon(s) to generate.

class

(character, optional) Additional CSS class(es) to apply to the icon(s).

lib

(character) The library from which to source the icon(s). Default is "font-awesome".

...

Additional arguments passed to icon.

Value

A tibble with a column of generated icons as shiny::icon objects.

Examples

# Generate icons with default parameters
ui_icons(name = c("home", "user", "cog"))

COHHIO/RminorElevated documentation built on Nov. 14, 2024, 6:28 p.m.