Icons

2040 glyphs, tree-shakeable one by one. Import the glyph itself rather than its name so a bundle only carries what it renders:

<script>
  import { Icon } from 'svelte-widgets'
  import { Download } from 'svelte-widgets/icons'
</script>

<Icon icon={Download} />

Size comes from --icon-size, colour from currentColor, so an icon inherits the text around it unless told otherwise. Click any glyph to copy its name.

showing all 2040