Class: Lucide::Images

Inherits:
Base
  • Object
show all
Defined in:
app/views/rails_devtools/components/lucide/images.rb

Instance Method Summary collapse

Instance Method Details

#view_templateObject



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'app/views/rails_devtools/components/lucide/images.rb', line 6

def view_template
  svg(
    xmlns: "http://www.w3.org/2000/svg",
    width: width,
    height: height,
    viewbox: "0 0 24 24",
    fill: "none",
    stroke: "currentColor",
    stroke_width: "2",
    stroke_linecap: "round",
    stroke_linejoin: "round",
    class: "lucide lucide-images"
  ) do |s|
    s.path(d: "M18 22H4a2 2 0 0 1-2-2V6")
    s.path(d: "m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18")
    s.circle(cx: "12", cy: "8", r: "2")
    s.rect(width: "16", height: "16", x: "6", y: "2", rx: "2")
  end
end