0.0.24 • Published 2 years ago
@svelte-parts/icons v0.0.24
@svelte-parts/icons
Icon components for svelte.
Demo and list of all available icons
Try it out in the svelte REPL
Collections:
Install
npm install @svelte-parts/icons
Usage
<script>
import ActivityIcon from '@svelte-parts/icons/feather/activity'
import AerialwayIcon from '@svelte-parts/icons/maki/aerialway'
import AlertIcon from '@svelte-parts/icons/octicons/alert'
</script>
<h1>Inlined <ActivityIcon /> icons</h1>
<p> That keep the same size <AerialwayIcon /> as the text</p>
<button>Even here <AlertIcon /> in a button </button>
If you want to make it fit the container like SVG, set inline
to false
<div style="width:500px">
<Icon inline={false}>
</div>
0.0.23
2 years ago
0.0.24
2 years ago
0.0.21
2 years ago
0.0.22
2 years ago
0.0.20
3 years ago
0.0.19
3 years ago
0.0.18
3 years ago
0.0.17
3 years ago
0.0.15
3 years ago
0.0.16
3 years ago
0.0.14
3 years ago
0.0.13
3 years ago
0.0.12
3 years ago
0.0.10
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.5
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago