Building2

PhlexIcons::Lucide

Source code

Icon ↓

With Phlex::Kit

Lucide::Building2()

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

render PhlexIcons::Lucide::Building2.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.path(d: 'M10 12h4')
		s.path(d: 'M10 8h4')
		s.path(d: 'M14 21v-3a2 2 0 0 0-4 0v3')
		s.path(
			d:
				'M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2'
		)
		s.path(d: 'M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16')
	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">
	<path d="M10 12h4"></path>
	<path d="M10 8h4"></path>
	<path d="M14 21v-3a2 2 0 0 0-4 0v3"></path>
	<path d="M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2"></path>
	<path d="M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16"></path>
</svg>