Class: PhlexIcons::Hero::EnvelopeOpen

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/hero/envelope_open.rb

Instance Attribute Summary

Attributes inherited from Base

#variant

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize, #view_template

Methods inherited from Base

#initialize, #view_template

Constructor Details

This class inherits a constructor from PhlexIcons::Hero::Base

Instance Method Details

#outlineObject



27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/phlex-icons/hero/envelope_open.rb', line 27

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:
        'M21.75 9v.906a2.25 2.25 0 0 1-1.183 1.981l-6.478 3.488M2.25 9v.906a2.25 2.25 0 0 0 1.183 1.981l6.478 3.488m8.839 2.51-4.66-2.51m0 0-1.023-.55a2.25 2.25 0 0 0-2.134 0l-1.022.55m0 0-4.661 2.51m16.5 1.615a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V8.844a2.25 2.25 0 0 1 1.183-1.981l7.5-4.039a2.25 2.25 0 0 1 2.134 0l7.5 4.039a2.25 2.25 0 0 1 1.183 1.98V19.5Z'
    )
  end
end

#solidObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/phlex-icons/hero/envelope_open.rb', line 7

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:
        'M19.5 22.5a3 3 0 0 0 3-3v-8.174l-6.879 4.022 3.485 1.876a.75.75 0 1 1-.712 1.321l-5.683-3.06a1.5 1.5 0 0 0-1.422 0l-5.683 3.06a.75.75 0 0 1-.712-1.32l3.485-1.877L1.5 11.326V19.5a3 3 0 0 0 3 3h15Z'
    )
    s.path(
      d:
        'M1.5 9.589v-.745a3 3 0 0 1 1.578-2.642l7.5-4.038a3 3 0 0 1 2.844 0l7.5 4.038A3 3 0 0 1 22.5 8.844v.745l-8.426 4.926-.652-.351a3 3 0 0 0-2.844 0l-.652.351L1.5 9.589Z'
    )
  end
end