Registry / web-framework / inline-svg

inline-svg

JSON →
library1.10.0rbrubygemsunverified

Get an SVG into your view and then style it with CSS in Rails applications.

gem install inline_svg
INSTALL
IMPORT
SIG · INLINE-SVG
I
inline-svg
web-frameworkrubyv1.10.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

InlineSvg
require 'inline_svg'

Embed SVG files inline in Rails views for CSS styling.

require 'inline_svg' # In a Rails view: # <%= inline_svg_tag 'icon.svg', class: 'icon' %>
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.10.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
inline-svg — gem install inline-svg · libregistry