Class: PhlexIcons::Hero::Wallet

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/hero/wallet.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



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/phlex-icons/hero/wallet.rb', line 23

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 12a2.25 2.25 0 0 0-2.25-2.25H15a3 3 0 1 1-6 0H5.25A2.25 2.25 0 0 0 3 12m18 0v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6m18 0V9M3 12V9m18 0a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 9m18 0V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v3'
    )
  end
end

#solidObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/phlex-icons/hero/wallet.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:
        'M2.273 5.625A4.483 4.483 0 0 1 5.25 4.5h13.5c1.141 0 2.183.425 2.977 1.125A3 3 0 0 0 18.75 3H5.25a3 3 0 0 0-2.977 2.625ZM2.273 8.625A4.483 4.483 0 0 1 5.25 7.5h13.5c1.141 0 2.183.425 2.977 1.125A3 3 0 0 0 18.75 6H5.25a3 3 0 0 0-2.977 2.625ZM5.25 9a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h13.5a3 3 0 0 0 3-3v-6a3 3 0 0 0-3-3H15a.75.75 0 0 0-.75.75 2.25 2.25 0 0 1-4.5 0A.75.75 0 0 0 9 9H5.25Z'
    )
  end
end