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

phlex-tabler_icons

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phlex-tabler_icons

  • 0.3.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Phlex Tabler Icons

Gem Version

This is a port of Tabler Icons to Phlex

[!NOTE] Currently the gem only supports outlined icons. Filled icon variants will be introduced soon.

Instructions

Installation

Add the gem to your application:

bundle add phlex-tabler_icons

That's it!

Usage

Simply render the desired icon in your views. The name of the icon is the same as in the Tabler Icons library, just in pascal case.

render Phlex::TablerIcons::Rocket.new(class: "h-8 w-8", stroke_width: 1.5)

Configuration

Add the following to your initializers

Phlex::TablerIcons.configure do |config|
  config.default_class = "h-6 w-6"
  config.default_height = "24"
  config.default_width = "24"
  config.default_stroke_width = "2"
end

Special Thank You

This gem would not be possible without the following projects:

FAQs

Package last updated on 21 Sep 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