Class: PhlexIcons::Material::FileUpload

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

Instance Method Details

#filledObject



7
8
9
10
11
12
13
14
15
# File 'lib/phlex-icons/material/file_upload.rb', line 7

def filled
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z')
  end
end

#outlinedObject



17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/phlex-icons/material/file_upload.rb', line 17

def outlined
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z'
    )
  end
end

#roundObject



30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/phlex-icons/material/file_upload.rb', line 30

def round
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M7.4 10h1.59v5c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-5h1.59c.89 0 1.34-1.08.71-1.71L12.7 3.7a.996.996 0 0 0-1.41 0L6.7 8.29c-.63.63-.19 1.71.7 1.71zM5 19c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1z'
    )
  end
end

#sharpObject



43
44
45
46
47
48
49
50
51
# File 'lib/phlex-icons/material/file_upload.rb', line 43

def sharp
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M5 10h4v6h6v-6h4l-7-7-7 7zm0 8v2h14v-2H5z')
  end
end

#two_toneObject



53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/phlex-icons/material/file_upload.rb', line 53

def two_tone
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M9.83 8H11v6h2V8h1.17L12 5.83z', opacity: '.3')
    s.path(
      d:
        'M5 18h14v2H5zm0-8h4v6h6v-6h4l-7-7-7 7zm8-2v6h-2V8H9.83L12 5.83 14.17 8H13z'
    )
  end
end