MoodBoy

PhlexIcons::Tabler

Source code

Icon (Variant: :outline) ↓

With Phlex::Kit

Tabler::MoodBoy(variant: :outline)

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

render PhlexIcons::Tabler::MoodBoy.new(variant: :outline)

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:
				'M17 4.5a9 9 0 0 1 3.864 5.89a2.5 2.5 0 0 1 -.29 4.36a9 9 0 0 1 -17.137 0a2.5 2.5 0 0 1 -.29 -4.36a9 9 0 0 1 3.746 -5.81'
		)
		s.path(d: 'M9.5 16a3.5 3.5 0 0 0 5 0')
		s.path(d: 'M8.5 2c1.5 1 2.5 3.5 2.5 5')
		s.path(d: 'M12.5 2c1.5 2 2 3.5 2 5')
		s.path(d: 'M9 12l.01 0')
		s.path(d: 'M15 12l.01 0')
	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="M17 4.5a9 9 0 0 1 3.864 5.89a2.5 2.5 0 0 1 -.29 4.36a9 9 0 0 1 -17.137 0a2.5 2.5 0 0 1 -.29 -4.36a9 9 0 0 1 3.746 -5.81"></path>
	<path d="M9.5 16a3.5 3.5 0 0 0 5 0"></path>
	<path d="M8.5 2c1.5 1 2.5 3.5 2.5 5"></path>
	<path d="M12.5 2c1.5 2 2 3.5 2 5"></path>
	<path d="M9 12l.01 0"></path>
	<path d="M15 12l.01 0"></path>
</svg>

Icon (Variant: :filled) ↓

Variant not implemented