Tabler Icons Component
Simple Laravel 7+ component to display one of the Tabler icon set
The Component
Install the icons
Usage
Notes:
Last updated
Simple Laravel 7+ component to display one of the Tabler icon set
Last updated
<!-- tabler icon, pulls from public/tabler folder. Accepts:
strokeWidth defaults to "1"
class defaults to "inline-block relative h-2"
-->
<svg viewBox="0 0 24 24" stroke="currentColor"
stroke-width="{{ $strokeWidth ?? 1 }}"
class="inline-block relative h-2 {{ $class ?? '' }}"
{{ $attributes->except(['class','icon']) }}
>
<use xlink:href="/tabler/tabler-sprite-nostroke.svg#tabler-{{$icon}}" />
</svg><x-tabler icon="brand-twitch" class="h-6" /><x-tabler wire:click="hello"
icon="bucket"
class="bottom-1 h-6 text-blue-500"
strokeWidth="2" />