Skip to contents

Writes one .svg file per icon. Files are named {prefix}-{name}.svg.

Usage

iconify_download(id, dir = ".", ...)

Arguments

id

Character vector of icon ids ("prefix:name").

dir

Output directory. Created if it does not exist.

...

Passed to iconify_get() (color, size, flip, rotate).

Value

The file paths, invisibly.

See also

Examples

paths <- iconify_download(c("mdi:home", "tabler:star"), dir = tempdir())
basename(paths)
#> [1] "mdi-home.svg"    "tabler-star.svg"