Class: Protos::Icon::Heroicon::ArchiveBoxArrowDown

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

Instance Method Summary collapse

Methods inherited from Protos::Icon::HeroiconComponent

#view_template

Instance Method Details

#outline ⇒ Object



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

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:
        "m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5m8.25 3v6.75m0 0-3-3m3 3 3-3M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"
    )
  end
end

#solid ⇒ Object



10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'lib/protos/icon/heroicon/archive_box_arrow_down.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:
        "M3.375 3C2.339 3 1.5 3.84 1.5 4.875v.75c0 1.036.84 1.875 1.875 1.875h17.25c1.035 0 1.875-.84 1.875-1.875v-.75C22.5 3.839 21.66 3 20.625 3H3.375Z"
    )
    s.path(
      fill_rule: "evenodd",
      d:
        "m3.087 9 .54 9.176A3 3 0 0 0 6.62 21h10.757a3 3 0 0 0 2.995-2.824L20.913 9H3.087ZM12 10.5a.75.75 0 0 1 .75.75v4.94l1.72-1.72a.75.75 0 1 1 1.06 1.06l-3 3a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 1 1 1.06-1.06l1.72 1.72v-4.94a.75.75 0 0 1 .75-.75Z",
      clip_rule: "evenodd"
    )
  end
end