FileTypeTsx

PhlexIcons::Tabler

Source code

Icon (Variant: :outline) ↓

With Phlex::Kit

Tabler::FileTypeTsx(variant: :outline)

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

render PhlexIcons::Tabler::FileTypeTsx.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: 'M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4')
		s.path(d: 'M14 3v4a1 1 0 0 0 1 1h4')
		s.path(d: 'M16 15l4 6')
		s.path(d: 'M16 21l4 -6')
		s.path(
			d:
				'M10 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-1a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-1a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75'
		)
		s.path(d: 'M4.5 15h3')
		s.path(d: 'M6 15v6')
	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="M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"></path>
	<path d="M14 3v4a1 1 0 0 0 1 1h4"></path>
	<path d="M16 15l4 6"></path>
	<path d="M16 21l4 -6"></path>
	<path d="M10 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-1a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-1a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75"></path>
	<path d="M4.5 15h3"></path>
	<path d="M6 15v6"></path>
</svg>

Icon (Variant: :filled) ↓

Variant not implemented