Gamepad

PhlexIcons::Lucide

Source code

Icon ↓

With Phlex::Kit

Lucide::Gamepad()

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

render PhlexIcons::Lucide::Gamepad.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: '12', y2: '12')
		s.line(x1: '8', x2: '8', y1: '10', y2: '14')
		s.line(x1: '15', x2: '15.01', y1: '13', y2: '13')
		s.line(x1: '18', x2: '18.01', y1: '11', y2: '11')
		s.rect(width: '20', height: '12', x: '2', y: '6', rx: '2')
	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="12" y2="12"></line>
	<line x1="8" x2="8" y1="10" y2="14"></line>
	<line x1="15" x2="15.01" y1="13" y2="13"></line>
	<line x1="18" x2="18.01" y1="11" y2="11"></line>
	<rect width="20" height="12" x="2" y="6" rx="2"></rect>
</svg>