Class: PhlexIcons::Radix::Input

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

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods inherited from Base

#initialize

Constructor Details

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

Instance Method Details

#view_templateObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/phlex-icons/radix/input.rb', line 7

def view_template
  svg(
    **attrs,
    viewbox: '0 0 15 15',
    fill: 'none',
    xmlns: 'http://www.w3.org/2000/svg'
  ) do |s|
    s.path(
      d:
        'M10.5 1C10.7761 1 11 1.22386 11 1.5C11 1.77614 10.7761 2 10.5 2C9.87329 2 9.54318 2.20068 9.34473 2.47852C9.1223 2.78998 9 3.28844 9 4V11C9 11.7116 9.1223 12.21 9.34473 12.5215C9.54318 12.7993 9.87329 13 10.5 13C10.7761 13 11 13.2239 11 13.5C11 13.7761 10.7761 14 10.5 14C9.62675 14 8.95682 13.7006 8.53027 13.1035C8.51917 13.088 8.51069 13.0705 8.5 13.0547C8.48931 13.0705 8.48083 13.088 8.46973 13.1035C8.04318 13.7006 7.37325 14 6.5 14C6.22386 14 6 13.7761 6 13.5C6 13.2239 6.22386 13 6.5 13C7.12671 13 7.45682 12.7993 7.65527 12.5215C7.8777 12.21 8 11.7116 8 11V4C8 3.28844 7.8777 2.78998 7.65527 2.47852C7.45682 2.20068 7.12671 2 6.5 2C6.22386 2 6 1.77614 6 1.5C6 1.22386 6.22386 1 6.5 1C7.37325 1 8.04318 1.29938 8.46973 1.89648C8.48067 1.91181 8.48946 1.92874 8.5 1.94434C8.51054 1.92874 8.51933 1.91181 8.53027 1.89648C8.95682 1.29938 9.62675 1 10.5 1ZM6 5H1V10H6V11H1L0.897461 10.9951C0.427034 10.9472 0.0527828 10.573 0.00488281 10.1025L0 10V5C0 4.48232 0.393331 4.05621 0.897461 4.00488L1 4H6V5ZM14.1025 4.00488C14.6067 4.05621 15 4.48232 15 5V10L14.9951 10.1025C14.9472 10.573 14.573 10.9472 14.1025 10.9951L14 11H11V10H14V5H11V4H14L14.1025 4.00488Z',
      fill: 'currentColor'
    )
  end
end