⚡
LightningRails
  • 👋Welcome
  • Access the Repo
  • Getting Started
    • 🚀Quickstart
    • 🎨Themes
    • 🖼️Customize the views
    • 🔮DaisyUI Library
    • ⚡Lightning Landing
      • Quickstart
      • Theme and branding
      • Page structure
      • Publish your landing page
  • Features setup
    • 📸Images & media
    • 🔐Admin Dashboard
    • Search Engine Optimization
    • 📧Automatic Emails
      • 🟨Postmark
      • 🔲Resend
    • 🚪Login with Devise
    • 🪄Magic Link Signup
    • 💳Stripe Payment Gateway
    • Github Signup
    • Lucide icons
    • 🤖Multi-provider AI
    • Open AI API
  • UI Components
    • 🦸Heros
    • ❔FAQs
    • 🃏cards
    • 💬Testimonials
    • 👋Call To Actions
    • 🔦Features
  • Deploying to production
    • ⬆️Heroku Deploy
    • 🛡️Security
      • 🎛️Rate Limiting
  • RESOURCES
    • 🚀Vote for new features
    • Report an issue
    • 🆘Get help on Slack
    • 🍭Design Resources
      • Maria Ba Illustrations
      • Assets Mockup Generator
      • Logo Generator
      • Tailwind Cheatsheet
      • HyperUI Tailwind Library
Powered by GitBook
On this page

Was this helpful?

  1. Features setup

Lucide icons

Easily add SVG icons to your project with only one line of code.

PreviousGithub SignupNextMulti-provider AI

Last updated 7 months ago

Was this helpful?

Lucide.dev License disclaimer

ISC License

Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2022.

How to add Lucide Icons to your project

Once I find the icon I need I will copy its name to my clipboard 📋 with ctrl + c

In our view we will add the following line:

<%= lucide_icon("move-right") %>

Remember that icons behave like text, so if you want to change the size or color of the icon, simply add it as an argument:

<%= lucide_icon("move-right", "class" => "h-4 w-4") %>

Now my icon will be smaller than its default size.

Now you can forget about generic FontAwesome Icons with complicated setup and generic look and feel.

Happy Iconing! 🚀

The first step we want to do is to to find our ideal icon, in this case, I am looking for an arrow that goes right:

visit the Lucide Library
Short tutorial on how to sue the Lucide Library
You can use the search bar to quickly find the icons