H2 icon for Svelte
Render the h2 icon from Heroicons v2
with <Icon name="h2" /> from @krowten/svelte-heroicons, or
import it alone as H2Icon. It
renders the 24px outline style by default and the solid style with the solid prop, and takes its color from the surrounding text.
Outline
Solid
Install
npm install @krowten/svelte-heroiconsBy name
import {
Icon
} from '@krowten/svelte-heroicons';
<Icon name="h2" class="size-6" />
<Icon name="h2" class="size-6" solid />Or as its own component
import {
H2Icon
} from '@krowten/svelte-heroicons';
<H2Icon class="size-6" />