Monitor

PhlexIcons::Lucide

Source code

Icon ↓

With Phlex::Kit

Lucide::Monitor()

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

render PhlexIcons::Lucide::Monitor.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.rect(width: '20', height: '14', x: '2', y: '3', rx: '2')
		s.line(x1: '8', x2: '16', y1: '21', y2: '21')
		s.line(x1: '12', x2: '12', y1: '17', y2: '21')
	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">
	<rect width="20" height="14" x="2" y="3" rx="2"></rect>
	<line x1="8" x2="16" y1="21" y2="21"></line>
	<line x1="12" x2="12" y1="17" y2="21"></line>
</svg>