Gamepad2

PhlexIcons::Lucide

Source code

Icon ↓

With Phlex::Kit

Lucide::Gamepad2()

Without Phlex::Kit (e.g. ERB) ↓

render PhlexIcons::Lucide::Gamepad2.new

Plain Phlex ↓

def view_template
	svg(
		**attrs,
		xmlns: 'http://www.w3.org/2000/svg',
		viewbox: '0 0 24 24',
		fill: 'none',
		stroke: 'currentColor',
		stroke_width: '2',
		stroke_linecap: 'round',
		stroke_linejoin: 'round'
	) do |s|
		s.line(x1: '6', x2: '10', y1: '11', y2: '11')
		s.line(x1: '8', x2: '8', y1: '9', y2: '13')
		s.line(x1: '15', x2: '15.01', y1: '12', y2: '12')
		s.line(x1: '18', x2: '18.01', y1: '10', y2: '10')
		s.path(
			d:
				'M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z'
		)
	end
end

Plain SVG ↓

<svg xmlns="http://www.w3.org/2000/svg" class="" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
	<line x1="6" x2="10" y1="11" y2="11"></line>
	<line x1="8" x2="8" y1="9" y2="13"></line>
	<line x1="15" x2="15.01" y1="12" y2="12"></line>
	<line x1="18" x2="18.01" y1="10" y2="10"></line>
	<path d="M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z"></path>
</svg>