Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

phlex-remixicon

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phlex-remixicon

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Remix Icon is a set of open-source neutral-style system symbols for designers and developers. Unlike a patchwork icon library, 2800+ icons are all elaborately crafted so that they are born with the genes of readability, consistency, and perfect pixels. Remix Icon is a set of open-source neutral-style system symbols for designers and developers. Unlike a patchwork icon library, 2800+ icons are all elaborately crafted so that they are born with the genes of readability, consistency, and perfect pixels.

Phlex Remix Icon

Remix Icon implementation for Phlex

Highlights

  • 🎨 2800+ icons
  • 🚀 Lazy Loading

Installation

Install the gem and add to the application's Gemfile by executing:

bundle add phlex-remixicon

Or add this line to your application's Gemfile:

gem "phlex-remixicon"

Then add the following to your ApplicationComponent:

class ApplicationComponent < Phlex::HTML
  include Phlex::Remixicon
end

Usage

class Home::IndexView < ApplicationView
  def view_template
    # Render "award" icon
    render AwardFillIcon.new(size: 128, class: "text-amber-500")
  end
end

Configuration

You can configure the icon pack by creating an initializer:

# config/initializers/phlex_remixicon.rb

Phlex::Remixicon.configure do |config|
  config.default_size = 16
  config.default_props = { stroke_width: 4 }
end

Development

To generate the latest version of icons, run:

./bin/generate

Next, update the VERSION constant in lib/phlex/remixicon/version.rb to match the Remix Icon version, and then open a pull request.

Thanks! ✌️

Roadmap

  • GitHub Actions to automatically update icons
  • Tests

Inspiration

This project was inspired by other icon implementations for Phlex:

  • phlex-lucide - A great implementation of Lucide Icons for Phlex.
  • phlex-heroicons - Another excellent implementation, focusing on Heroicons.

Both projects influenced the design and structure of Phlex::Remixicon. We thank the authors for their inspiration and contributions to the Phlex ecosystem.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/phlex-remixicon. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Phlex::Remixicon project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

FAQs

Package last updated on 27 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc