Skip to contents

Fetch one or more symbols by category

Usage

symCat(
  category,
  font.size = NULL,
  font.weight = NULL,
  font.color = NULL,
  if.error = TRUE
)

Arguments

category

symbol categories to fetch (minimum: 4 characters)

font.size

font size as integer

font.weight

font weight as integer

font.color

font color e.g. red, blue, cyan

if.error

show error response

Value

get symbols from matching a particular category

Categories include

arrows mixed chess check mark symbol animal emoji flag people skull sign star telephone weather zodiac smiley hourglass fraction cards triangle square

Examples

symCat("arrows")
#> ←↑→↓↔↕↖↗↘↙
symCat("smiley", font.size = 32)
#> <span class='r2rsymbols-sym sym-694' style='font-size:32px!important;'>&#128513;</span><span class='r2rsymbols-sym sym-695' style='font-size:32px!important;'>&#128514;</span><span class='r2rsymbols-sym sym-696' style='font-size:32px!important;'>&#128515;</span><span class='r2rsymbols-sym sym-697' style='font-size:32px!important;'>&#128516;</span><span class='r2rsymbols-sym sym-698' style='font-size:32px!important;'>&#128517;</span><span class='r2rsymbols-sym sym-699' style='font-size:32px!important;'>&#128518;</span><span class='r2rsymbols-sym sym-700' style='font-size:32px!important;'>&#128519;</span><span class='r2rsymbols-sym sym-701' style='font-size:32px!important;'>&#128520;</span><span class='r2rsymbols-sym sym-702' style='font-size:32px!important;'>&#128521;</span><span class='r2rsymbols-sym sym-703' style='font-size:32px!important;'>&#128522;</span><span class='r2rsymbols-sym sym-704' style='font-size:32px!important;'>&#128523;</span><span class='r2rsymbols-sym sym-705' style='font-size:32px!important;'>&#128524;</span><span class='r2rsymbols-sym sym-706' style='font-size:32px!important;'>&#128525;</span><span class='r2rsymbols-sym sym-707' style='font-size:32px!important;'>&#128526;</span><span class='r2rsymbols-sym sym-708' style='font-size:32px!important;'>&#128527;</span><span class='r2rsymbols-sym sym-709' style='font-size:32px!important;'>&#128528;</span><span class='r2rsymbols-sym sym-710' style='font-size:32px!important;'>&#128529;</span><span class='r2rsymbols-sym sym-711' style='font-size:32px!important;'>&#128530;</span><span class='r2rsymbols-sym sym-712' style='font-size:32px!important;'>&#128531;</span><span class='r2rsymbols-sym sym-713' style='font-size:32px!important;'>&#128532;</span><span class='r2rsymbols-sym sym-714' style='font-size:32px!important;'>&#128533;</span><span class='r2rsymbols-sym sym-715' style='font-size:32px!important;'>&#128534;</span><span class='r2rsymbols-sym sym-716' style='font-size:32px!important;'>&#128535;</span><span class='r2rsymbols-sym sym-717' style='font-size:32px!important;'>&#128536;</span><span class='r2rsymbols-sym sym-718' style='font-size:32px!important;'>&#128537;</span><span class='r2rsymbols-sym sym-719' style='font-size:32px!important;'>&#128538;</span><span class='r2rsymbols-sym sym-720' style='font-size:32px!important;'>&#128539;</span><span class='r2rsymbols-sym sym-721' style='font-size:32px!important;'>&#128540;</span><span class='r2rsymbols-sym sym-722' style='font-size:32px!important;'>&#128541;</span><span class='r2rsymbols-sym sym-723' style='font-size:32px!important;'>&#128542;</span><span class='r2rsymbols-sym sym-724' style='font-size:32px!important;'>&#128543;</span><span class='r2rsymbols-sym sym-725' style='font-size:32px!important;'>&#128544;</span><span class='r2rsymbols-sym sym-726' style='font-size:32px!important;'>&#128545;</span><span class='r2rsymbols-sym sym-727' style='font-size:32px!important;'>&#128546;</span><span class='r2rsymbols-sym sym-728' style='font-size:32px!important;'>&#128547;</span><span class='r2rsymbols-sym sym-729' style='font-size:32px!important;'>&#128548;</span><span class='r2rsymbols-sym sym-730' style='font-size:32px!important;'>&#128549;</span><span class='r2rsymbols-sym sym-731' style='font-size:32px!important;'>&#128550;</span><span class='r2rsymbols-sym sym-732' style='font-size:32px!important;'>&#128551;</span><span class='r2rsymbols-sym sym-733' style='font-size:32px!important;'>&#128552;</span><span class='r2rsymbols-sym sym-734' style='font-size:32px!important;'>&#128553;</span><span class='r2rsymbols-sym sym-735' style='font-size:32px!important;'>&#128554;</span><span class='r2rsymbols-sym sym-736' style='font-size:32px!important;'>&#128555;</span><span class='r2rsymbols-sym sym-737' style='font-size:32px!important;'>&#128556;</span><span class='r2rsymbols-sym sym-738' style='font-size:32px!important;'>&#128557;</span><span class='r2rsymbols-sym sym-739' style='font-size:32px!important;'>&#128558;</span><span class='r2rsymbols-sym sym-740' style='font-size:32px!important;'>&#128559;</span><span class='r2rsymbols-sym sym-741' style='font-size:32px!important;'>&#128560;</span><span class='r2rsymbols-sym sym-742' style='font-size:32px!important;'>&#128561;</span><span class='r2rsymbols-sym sym-743' style='font-size:32px!important;'>&#128562;</span><span class='r2rsymbols-sym sym-744' style='font-size:32px!important;'>&#128563;</span><span class='r2rsymbols-sym sym-745' style='font-size:32px!important;'>&#128564;</span><span class='r2rsymbols-sym sym-746' style='font-size:32px!important;'>&#128565;</span><span class='r2rsymbols-sym sym-747' style='font-size:32px!important;'>&#128566;</span><span class='r2rsymbols-sym sym-748' style='font-size:32px!important;'>&#128567;</span><span class='r2rsymbols-sym sym-749' style='font-size:32px!important;'>&#128577;</span><span class='r2rsymbols-sym sym-750' style='font-size:32px!important;'>&#128578;</span><span class='r2rsymbols-sym sym-751' style='font-size:32px!important;'>&#128579;</span><span class='r2rsymbols-sym sym-752' style='font-size:32px!important;'>&#128580;</span><span class='r2rsymbols-sym sym-753' style='font-size:32px!important;'>&#129296;</span><span class='r2rsymbols-sym sym-754' style='font-size:32px!important;'>&#129297;</span><span class='r2rsymbols-sym sym-755' style='font-size:32px!important;'>&#129298;</span><span class='r2rsymbols-sym sym-756' style='font-size:32px!important;'>&#129299;</span><span class='r2rsymbols-sym sym-757' style='font-size:32px!important;'>&#129300;</span><span class='r2rsymbols-sym sym-758' style='font-size:32px!important;'>&#129301;</span><span class='r2rsymbols-sym sym-759' style='font-size:32px!important;'>&#129312;</span><span class='r2rsymbols-sym sym-760' style='font-size:32px!important;'>&#129313;</span><span class='r2rsymbols-sym sym-761' style='font-size:32px!important;'>&#129314;</span><span class='r2rsymbols-sym sym-762' style='font-size:32px!important;'>&#129315;</span><span class='r2rsymbols-sym sym-763' style='font-size:32px!important;'>&#129316;</span><span class='r2rsymbols-sym sym-764' style='font-size:32px!important;'>&#129317;</span><span class='r2rsymbols-sym sym-765' style='font-size:32px!important;'>&#129319;</span><span class='r2rsymbols-sym sym-766' style='font-size:32px!important;'>&#129320;</span><span class='r2rsymbols-sym sym-767' style='font-size:32px!important;'>&#129321;</span><span class='r2rsymbols-sym sym-768' style='font-size:32px!important;'>&#129322;</span><span class='r2rsymbols-sym sym-769' style='font-size:32px!important;'>&#129323;</span><span class='r2rsymbols-sym sym-770' style='font-size:32px!important;'>&#129324;</span><span class='r2rsymbols-sym sym-771' style='font-size:32px!important;'>&#129325;</span><span class='r2rsymbols-sym sym-772' style='font-size:32px!important;'>&#129326;</span><span class='r2rsymbols-sym sym-773' style='font-size:32px!important;'>&#129327;</span><span class='r2rsymbols-sym sym-774' style='font-size:32px!important;'>&#129488;</span>
symCat("music")
#> Warning: No symbols match the category term that was entered
symCat("random") # should not work
#> Warning: No symbols match the category term that was entered