Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 months 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-18T02:44:55.000Z (over 5 years ago)
- Last Synced: 2024-08-06T03:04:51.161Z (5 months 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: 120
- Watchers: 6
- 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
![](https://raw.githubusercontent.com/emitanaka/anicon/master/inst/media/animate.gif)
`anicon` now also has text animation!
![](https://raw.githubusercontent.com/emitanaka/anicon/master/inst/media/anitextshow.gif)
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 .