Class: Phlex::Lucide::SwordsIcon

Inherits:
Icon
  • Object
show all
Defined in:
lib/phlex/lucide/icons/swords_icon.rb

Instance Attribute Summary

Attributes inherited from Icon

#props, #size

Instance Method Summary collapse

Methods inherited from Icon

#initialize

Constructor Details

This class inherits a constructor from Phlex::Lucide::Icon

Instance Method Details

#view_templateObject



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/lucide/icons/swords_icon.rb', line 6

def view_template
  svg(
    xmlns: "http://www.w3.org/2000/svg",
    width: size,
    height: size,
    viewbox: "0 0 24 24",
    fill: "none",
    stroke: "currentColor",
    stroke_width: "2",
    stroke_linecap: "round",
    stroke_linejoin: "round",
    **props
  ) do |s|
    s.polyline(points: "14.5 17.5 3 6 3 3 6 3 17.5 14.5")
    s.line(x1: "13", x2: "19", y1: "19", y2: "13")
    s.line(x1: "16", x2: "20", y1: "16", y2: "20")
    s.line(x1: "19", x2: "21", y1: "21", y2: "19")
    s.polyline(points: "14.5 6.5 18 3 21 3 21 6 17.5 9.5")
    s.line(x1: "5", x2: "9", y1: "14", y2: "18")
    s.line(x1: "7", x2: "4", y1: "17", y2: "20")
    s.line(x1: "3", x2: "5", y1: "19", y2: "21")
  end
end