Class: Protos::Icon::Heroicon::Square2Stack

Inherits:
Protos::Icon::HeroiconComponent show all
Defined in:
lib/protos/icon/heroicon/square_2_stack.rb

Instance Method Summary collapse

Methods inherited from Protos::Icon::HeroiconComponent

#view_template

Instance Method Details

#outline ⇒ Object



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/protos/icon/heroicon/square_2_stack.rb', line 30

def outline
  svg(
    **attrs,
    xmlns: "http://www.w3.org/2000/svg",
    fill: "none",
    viewbox: "0 0 24 24",
    stroke_width: "1.5",
    stroke: "currentColor",
    aria_hidden: "true",
    data_slot: "icon"
  ) do |s|
    s.path(
      stroke_linecap: "round",
      stroke_linejoin: "round",
      d:
        "M16.5 8.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v8.25A2.25 2.25 0 0 0 6 16.5h2.25m8.25-8.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-7.5A2.25 2.25 0 0 1 8.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 0 0-2.25 2.25v6"
    )
  end
end

#solid ⇒ Object



10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/protos/icon/heroicon/square_2_stack.rb', line 10

def solid
  svg(
    **attrs,
    xmlns: "http://www.w3.org/2000/svg",
    viewbox: "0 0 24 24",
    fill: "currentColor",
    aria_hidden: "true",
    data_slot: "icon"
  ) do |s|
    s.path(
      d:
        "M16.5 6a3 3 0 0 0-3-3H6a3 3 0 0 0-3 3v7.5a3 3 0 0 0 3 3v-6A4.5 4.5 0 0 1 10.5 6h6Z"
    )
    s.path(
      d:
        "M18 7.5a3 3 0 0 1 3 3V18a3 3 0 0 1-3 3h-7.5a3 3 0 0 1-3-3v-7.5a3 3 0 0 1 3-3H18Z"
    )
  end
end