back to home

Rails-Designer / rails_icons

Add any icon library to a Rails app. Support for Lucide, Phosphor, Heroicons and others

View on GitHub
306 stars
16 forks
3 issues
RubyJavaScriptHTML

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing Rails-Designer/rails_icons in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/Rails-Designer/rails_icons)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Rails Icons Add any icon library to a Rails app. Rails Icons has first-party support for a handful of libraries. It is library agnostic so it can be used with any icon library using the same interface. Rails Icons is a Rails gem for the Icons Ruby gem. The icons are sourced directly from their respective GitHub repositories, ensuring Rails Icons remain lightweight. **Sponsored By Rails Designer** Install Add the gem: Install, choosing one of the supported libraries: **Example** The generator also mounts an icon preview at where you can browse and search all your available icons. This route is open by default, so restrict it in production if needed. Usage First-party libraries • Boxicons (1600+ icons) • Feather (280+ icons) • Flags (540+ icons) • Heroicons (300+ icons) • Hugeicons (4600+ icons) • Linear (170+ icons) • Lucide (1500+ icons) • Phosphor (9000+ icons) • Radix (300+ icons) • SidekickIcons (49 icons, complementing Heroicons) • Tabler (5700+ icons) • Weather (215+ icons) Animated icons Rails Icons also includes a few animated icons. Great for loading states and so on. These are currently included: • • • • Use like this: . The same attributes as the other libraries are available. Custom icon library Need to use an icon from another library (for example Simple Icons)? • run ; • add the SVG icons to the created directory (*app/assets/svg/icons/simple_icons*); Every custom icon can now be used with the same interface as first-party icon libraries: Sync icons To sync all libraries, run: To sync only a specific library, run: Projects using Rails Icons • Rails Designer UI Components — The first professionally-designed UI components library for Ruby on Rails apps • Chirp Form — Add forms to any site. Display responses anywhere • Helptail — Put your routine tasks on autopilot Contributing This project uses Standard for formatting Ruby code. Please make sure to run before submitting pull requests. Run tests via . License Rails Icons is released under the MIT License.