Class: Phlex::Icons::Iconoir::Book
- Defined in:
- lib/phlex/icons/iconoir/icons/book.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Phlex::Icons::Iconoir::Base
Instance Method Details
#regular ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/phlex/icons/iconoir/icons/book.rb', line 2 def regular svg( class: @class, width: @width, stroke_width: @stroke_width, height: @height, viewbox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" ) do |s| s.path( d: "M4 19V5C4 3.89543 4.89543 3 6 3H19.4C19.7314 3 20 3.26863 20 3.6V16.7143", stroke: "currentColor", stroke_linecap: "round" ) s.path(d: "M6 17L20 17", stroke: "currentColor", stroke_linecap: "round") s.path(d: "M6 21L20 21", stroke: "currentColor", stroke_linecap: "round") s.path( d: "M6 21C4.89543 21 4 20.1046 4 19C4 17.8954 4.89543 17 6 17", stroke: "currentColor", stroke_linecap: "round", stroke_linejoin: "round" ) s.path(d: "M9 7L15 7", stroke: "currentColor", stroke_linecap: "round") end end |
#solid ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/phlex/icons/iconoir/icons/book.rb', line 30 def solid svg( class: @class, width: @width, height: @height, viewbox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" ) do |s| s.path( fill_rule: "evenodd", clip_rule: "evenodd", d: "M20.75 16.7143C20.75 16.7631 20.7453 16.8109 20.7364 16.8571C20.7453 16.9034 20.75 16.9511 20.75 17C20.75 17.4142 20.4142 17.75 20 17.75H6C5.30964 17.75 4.75 18.3096 4.75 19C4.75 19.6904 5.30964 20.25 6 20.25H20C20.4142 20.25 20.75 20.5858 20.75 21C20.75 21.4142 20.4142 21.75 20 21.75H6C4.48122 21.75 3.25 20.5188 3.25 19V5C3.25 3.48122 4.48122 2.25 6 2.25H19.4C20.1456 2.25 20.75 2.85442 20.75 3.6V16.7143ZM9 6.25C8.58579 6.25 8.25 6.58579 8.25 7C8.25 7.41421 8.58579 7.75 9 7.75H15C15.4142 7.75 15.75 7.41421 15.75 7C15.75 6.58579 15.4142 6.25 15 6.25H9Z", fill: "currentColor" ) end end |