https://github.com/emitanaka/anicon
Animated icons for R markdown and Shiny apps
https://github.com/emitanaka/anicon
font-awesome fontawesome icon r rmarkdown rshiny rstats shiny xaringan
Last synced: 17 days ago
JSON representation
Animated icons for R markdown and Shiny apps
- Host: GitHub
- URL: https://github.com/emitanaka/anicon
- Owner: emitanaka
- Created: 2018-06-20T01:49:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-18T02:44:55.000Z (over 5 years ago)
- Last Synced: 2025-04-02T02:35:46.417Z (20 days ago)
- Topics: font-awesome, fontawesome, icon, r, rmarkdown, rshiny, rstats, shiny, xaringan
- Language: R
- Homepage: https://emitanaka.github.io/anicon/
- Size: 3.14 MB
- Stars: 121
- Watchers: 5
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
- jimsghstars - emitanaka/anicon - Animated icons for R markdown and Shiny apps (R)
README
---
output:
github_document:
html_preview: false
---# anicon
## Overview
This R-package allows for easy insertion of animated [font awesome](https://fontawesome.com) or [academicons](https://jpswalsh.github.io/academicons/) icons into R markdown or Shiny.
It works with inline code such as
```{r, results='asis', echo=FALSE}
cat("`` `r anicon::faa(\"leaf\", animate=\"burst\")` ``")
```You can find the vignette [here](https://anicon.netlify.com/).
## Installation
You can install this package from github as:
```{r, eval=F}
# install.packages("devtools")
devtools::install_github('emitanaka/anicon')
```## Example

`anicon` now also has text animation!

See more in the vignette [here](https://anicon.netlify.com/).
Font awesome animation is brought thanks to [font-awesome-animation](https://l-lin.github.io/font-awesome-animation/).
## Still icons
For still icons you can try either the [`fontawesome`](https://github.com/rstudio/fontawesome) package or [`icon`](https://github.com/ropenscilabs/icon) package .