A library providing https://lucide.dev icons to lustre
Gleam 99.9%
Other 0.1%
8 1 0

Clone this repository

https://tangled.org/keii.dev/lucide_lustre
git@tangled.org:keii.dev/lucide_lustre

For self-hosted knots, clone URLs may differ based on your setup.

README.md

lucide_lustre#

Package Version Hex Docs

gleam add --dev lucide_lustre@2
gleam run -m lucide_lustre/add library # Library can be replaced with any lucide icon

Or if you still want to install all icons

gleam run -m lucide_lustre/add_all
import lucide_lustre.{library}
import lustre/element/html.{div}
import lustre/attribute.{class}

pub fn main() {
  div([], [
    library([class("size-4")])
  ])
}

Further documentation can be found at https://hexdocs.pm/lucide_lustre.

Change output module#

Configuration can be made in either the arguments

gleam run -m lucide_lustre/add [icon_name] {output_module}
gleam run -m lucide_lustre/add_all {output_module}

or statically in the gleam.toml

[lucide_lustre]
output_module = "lucide_lustre"