Big thanks to @jacobwgillespie and his project
svg-icons
for providing pre-assembled and pre-cleaned SVG icons!
Icon Explorer (very much WIP)
Install any of the icon packs in the table below with
yarn add -D @svicons/<pack-name>
For example
yarn add -D @svicons/octicons @svicons/fa-solid @svicons/material-sharp
Then in a Svelte file, import and use as
<script>
import Alarm from '@svicons/bootstrap/alarm.svelte'
</script>
<Alarm width="3em" color="green" />
[bootstrap] | [boxicons-logos] | [boxicons-regular] | [boxicons-solid] | [crypto] |
[entypo] | [entypo-social] | [evaicons-outline] | [evaicons-solid] | [evil] |
[fa-brands] | [fa-regular] | [fa-solid] | [feather] | [fluentui-system-filled] |
[fluentui-system-regular] | [foundation] | [heroicons-outline] | [heroicons-solid] | [icomoon] |
[ionicons-outline] | [ionicons-sharp] | [ionicons-solid] | [material-outlined] | [material-rounded] |
[material-sharp] | [material-twotone] | [octicons] | [open-iconic] | [remix-editor] |
[remix-fill] | [remix-line] | [simple-icons] | [typicons] | [zondicons] |
ava
tests to ensure icons can be imported and have expected props.Contributions towards any of these goals are much appreciated!
Thanks to all these icon packs for their permissive licensing, allowing free use!