Class: Phlex::Icons::Iconoir::Component

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex/icons/iconoir/icons/component.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
# File 'lib/phlex/icons/iconoir/icons/component.rb', line 2

def regular
  svg(
    class: @class,
    width: @width,
    height: @height,
    viewbox: "0 0 24 24",
    stroke_width: @stroke_width,
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg"
  ) do |s|
    s.path(
      d:
        "M5.21173 15.1113L2.52473 12.4243C2.29041 12.1899 2.29041 11.8101 2.52473 11.5757L5.21173 8.88873C5.44605 8.65442 5.82595 8.65442 6.06026 8.88873L8.74727 11.5757C8.98158 11.8101 8.98158 12.1899 8.74727 12.4243L6.06026 15.1113C5.82595 15.3456 5.44605 15.3456 5.21173 15.1113Z",
      stroke: "currentColor"
    )
    s.path(
      d:
        "M11.5757 21.475L8.88874 18.788C8.65443 18.5537 8.65443 18.1738 8.88874 17.9395L11.5757 15.2525C11.8101 15.0182 12.19 15.0182 12.4243 15.2525L15.1113 17.9395C15.3456 18.1738 15.3456 18.5537 15.1113 18.788L12.4243 21.475C12.19 21.7094 11.8101 21.7094 11.5757 21.475Z",
      stroke: "currentColor"
    )
    s.path(
      d:
        "M11.5757 8.7475L8.88874 6.06049C8.65443 5.82618 8.65443 5.44628 8.88874 5.21197L11.5757 2.52496C11.8101 2.29065 12.19 2.29065 12.4243 2.52496L15.1113 5.21197C15.3456 5.44628 15.3456 5.82618 15.1113 6.06049L12.4243 8.7475C12.19 8.98181 11.8101 8.98181 11.5757 8.7475Z",
      stroke: "currentColor"
    )
    s.path(
      d:
        "M17.9396 15.1113L15.2526 12.4243C15.0183 12.1899 15.0183 11.8101 15.2526 11.5757L17.9396 8.88873C18.174 8.65442 18.5539 8.65442 18.7882 8.88873L21.4752 11.5757C21.7095 11.8101 21.7095 12.1899 21.4752 12.4243L18.7882 15.1113C18.5539 15.3456 18.174 15.3456 17.9396 15.1113Z",
      stroke: "currentColor"
    )
  end
end

#solidObject



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# File 'lib/phlex/icons/iconoir/icons/component.rb', line 35

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(
      d:
        "M5.21186 15.1113L2.52485 12.4243C2.29054 12.1899 2.29054 11.8101 2.52485 11.5757L5.21186 8.88873C5.44617 8.65442 5.82607 8.65442 6.06038 8.88873L8.74739 11.5757C8.9817 11.8101 8.9817 12.1899 8.74739 12.4243L6.06038 15.1113C5.82607 15.3456 5.44617 15.3456 5.21186 15.1113Z",
      fill: "currentColor",
      stroke: "currentColor",
      stroke_width: @stroke_width
    )
    s.path(
      d:
        "M11.5756 21.4755L8.88862 18.7885C8.6543 18.5542 8.6543 18.1743 8.88862 17.94L11.5756 15.253C11.8099 15.0187 12.1898 15.0187 12.4242 15.253L15.1112 17.94C15.3455 18.1743 15.3455 18.5542 15.1112 18.7885L12.4242 21.4755C12.1898 21.7098 11.8099 21.7098 11.5756 21.4755Z",
      fill: "currentColor",
      stroke: "currentColor",
      stroke_width: @stroke_width
    )
    s.path(
      d:
        "M11.5756 8.74701L8.88862 6.06001C8.6543 5.82569 8.6543 5.44579 8.88862 5.21148L11.5756 2.52447C11.8099 2.29016 12.1898 2.29016 12.4242 2.52447L15.1112 5.21148C15.3455 5.44579 15.3455 5.82569 15.1112 6.06001L12.4242 8.74701C12.1898 8.98133 11.8099 8.98133 11.5756 8.74701Z",
      fill: "currentColor",
      stroke: "currentColor",
      stroke_width: @stroke_width
    )
    s.path(
      d:
        "M17.9396 15.1113L15.2526 12.4243C15.0183 12.1899 15.0183 11.8101 15.2526 11.5757L17.9396 8.88873C18.174 8.65442 18.5539 8.65442 18.7882 8.88873L21.4752 11.5757C21.7095 11.8101 21.7095 12.1899 21.4752 12.4243L18.7882 15.1113C18.5539 15.3456 18.174 15.3456 17.9396 15.1113Z",
      fill: "currentColor",
      stroke: "currentColor",
      stroke_width: @stroke_width
    )
  end
end