Percent badge icon for Svelte

Render the percent-badge icon from Heroicons v2 with <Icon name="percent-badge" /> from @krowten/svelte-heroicons, or import it alone as PercentBadgeIcon. 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-heroicons

By name

import {
	Icon
} from '@krowten/svelte-heroicons';

<Icon name="percent-badge" class="size-6" />
<Icon name="percent-badge" class="size-6" solid />

Or as its own component

import {
	PercentBadgeIcon
} from '@krowten/svelte-heroicons';

<PercentBadgeIcon class="size-6" />

Related icons