Description
'Lucide' Icons for 'R'.
Description
A lightweight wrapper for the 'Lucide' icon library <https://lucide.dev>. Embed beautiful and consistent 'SVG' icons inline in any 'R' web application.
README.md
lucidr 
lucidr brings the Lucide icon library to R. Embed beautiful and consistent SVG icons inline in any R web application — no external font, no CDN dependency.
Installation
pak::pak("hyperverse-r/lucidr")
Usage
library(lucidr)
# Render a single icon
lucide("house")
# Customise size, colour and stroke width
lucide("chevron-right", size = 16, color = "red", stroke_width = 1.5)
# Browse all available icons
lucide_list()
length(lucide_list()) # 1 500+ icons
Example
An interactive icon showcase is included. It displays a grid of Lucide icons served via plumber2 and htmxr:
source(system.file("examples/icons/run_api.R", package = "lucidr"))
Then open http://127.0.0.1:8080 in your browser.
Code of Conduct
Please note that the lucidr project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.