8000 GitHub - col/lucide_icons: Phoenix components for Lucide icons! · GitHub
[go: up one dir, main page]

Skip to content

About

Phoenix components for Lucide icons!

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

59 Commits

Folders and files

Repository files navigation

Lucideicons

hex.pm docs ci Hex Downloads

This package adds a convenient way of using Lucide with your Phoenix.LiveView applications.

Lucide is "An open source icon library for displaying icons and symbols in digital and non-digital projects. It consists of 850+ Vector (svg) files", and is a fork of Feather Icons.

You can find the original docs here and repo here.

Installation

Warning: Since version 2.0 this library only supports phoenix_live_view v1.0+

Add lucide_icons to the list of dependencies in mix.exs:

def deps do
  [
    {:lucide_icons, "~> 2.0"} # x-release-please-version
  ]
end

Then run mix deps.get.

Usage

With Heex

<Lucideicons.alert_triangle class="h-4 w-4" aria-hidden/>

where alert_triangle refers to a specific icon name.

Icon names can be retrieved from Lucideicons.icon_names/0

About

Phoenix components for Lucide icons!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0