Class: Phlex::Icons::Iconoir::Cart

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex/icons/iconoir/icons/cart.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #view_template

Constructor Details

This class inherits a constructor from Phlex::Icons::Iconoir::Base

Instance Method Details

#regularObject



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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# File 'lib/phlex/icons/iconoir/icons/cart.rb', line 2

def regular
  svg(
    class: @class,
    width: @width,
    height: @height,
    stroke_width: @stroke_width,
    viewbox: "0 0 24 24",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg"
  ) do |s|
    s.path(
      d:
        "M19.5 22C20.3284 22 21 21.3284 21 20.5C21 19.6716 20.3284 19 19.5 19C18.6716 19 18 19.6716 18 20.5C18 21.3284 18.6716 22 19.5 22Z",
      fill: "currentColor",
      stroke: "currentColor",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
    s.path(
      d:
        "M9.5 22C10.3284 22 11 21.3284 11 20.5C11 19.6716 10.3284 19 9.5 19C8.67157 19 8 19.6716 8 20.5C8 21.3284 8.67157 22 9.5 22Z",
      fill: "currentColor",
      stroke: "currentColor",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
    s.path(
      d: "M5 4H22L20 15H7L5 4ZM5 4C4.83333 3.33333 4 2 2 2",
      stroke: "currentColor",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
    s.path(
      d:
        "M20 15H7H5.23077C3.44646 15 2.5 15.7812 2.5 17C2.5 18.2188 3.44646 19 5.23077 19H19.5",
      stroke: "currentColor",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
  end
end