Skip to content

hyperverse-r/lucidr

Repository files navigation

lucidr lucidr website

hyperverse Lifecycle: stable R-CMD-check Codecov test coverage

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

About

A lightweight R wrapper for Lucide icons

Topics

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors