Loader

PhlexIcons::Lucide

Source code

Icon ↓

With Phlex::Kit

Lucide::Loader()

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

render PhlexIcons::Lucide::Loader.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: 'M12 2v4')
		s.path(d: 'm16.2 7.8 2.9-2.9')
		s.path(d: 'M18 12h4')
		s.path(d: 'm16.2 16.2 2.9 2.9')
		s.path(d: 'M12 18v4')
		s.path(d: 'm4.9 19.1 2.9-2.9')
		s.path(d: 'M2 12h4')
		s.path(d: 'm4.9 4.9 2.9 2.9')
	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="M12 2v4"></path>
	<path d="m16.2 7.8 2.9-2.9"></path>
	<path d="M18 12h4"></path>
	<path d="m16.2 16.2 2.9 2.9"></path>
	<path d="M12 18v4"></path>
	<path d="m4.9 19.1 2.9-2.9"></path>
	<path d="M2 12h4"></path>
	<path d="m4.9 4.9 2.9 2.9"></path>
</svg>